1 Star 0 Fork 37

xh / lorax

forked from src-openEuler / lorax 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-Do-not-use-loglevel-option-when-running-Anaconda.patch 964 Bytes
一键复制 编辑 原始数据 按行查看 历史
From 78eec89cda687f9689978eedb5482d041577577a Mon Sep 17 00:00:00 2001
From: Vojtech Trefny <vtrefny@redhat.com>
Date: Wed, 18 Nov 2020 10:27:58 +0100
Subject: [PATCH] Do not use '--loglevel' option when running Anaconda
This option has been removed, see https://github.com/rhinstaller/anaconda/pull/2864
---
src/pylorax/installer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pylorax/installer.py b/src/pylorax/installer.py
index b882ecf..9d0a852 100644
--- a/src/pylorax/installer.py
+++ b/src/pylorax/installer.py
@@ -355,7 +355,7 @@ def novirt_install(opts, disk_img, disk_size, cancel_func=None, tar_img=None):
if os.path.isdir(path):
shutil.rmtree(path)
- args = ["--kickstart", opts.ks[0], "--cmdline", "--loglevel", "debug"]
+ args = ["--kickstart", opts.ks[0], "--cmdline"]
if opts.anaconda_args:
for arg in opts.anaconda_args:
args += arg.split(" ", 1)
--
1.8.3.1
1
https://gitee.com/xinghe_1/lorax.git
git@gitee.com:xinghe_1/lorax.git
xinghe_1
lorax
lorax
master

搜索帮助