1 Star 0 Fork 22

hanhuihui / python-blivet

forked from src-openEuler / python-blivet 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fix-the-long-hostname.patch 587 Bytes
一键复制 编辑 原始数据 按行查看 历史
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
1
https://gitee.com/han_hui_hui/python-blivet.git
git@gitee.com:han_hui_hui/python-blivet.git
han_hui_hui
python-blivet
python-blivet
master

搜索帮助