python-blivet/fix-the-long-hostname.patch

13 lines
587 B
Diff
Raw Permalink Normal View History

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
2020-06-22 22:40:29 +08:00
@@ -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