python-blivet/fix-the-long-hostname.patch
2021-11-29 01:05:35 -05:00

13 lines
587 B
Diff

diff -Nur blivet-3.1.1/blivet/devicelibs/lvm.py blivet-3.1.1-old/blivet/devicelibs/lvm.py
--- blivet-3.1.1/blivet/devicelibs/lvm.py 2019-01-26 04:29:13.358210238 -0500
+++ blivet-3.1.1-old/blivet/devicelibs/lvm.py 2019-01-26 04:29:54.489210238 -0500
@@ -219,7 +219,7 @@
# minus the number of hyphens, and possibly minus up to another 8 characters
# in some unspecified set of situations. Instead of figuring all of that out,
# no one gets a vg or lv name longer than, let's say, 55.
- if len(name) > 55:
+ if len(name) > 73:
return False
return True