summaryrefslogtreecommitdiff
path: root/backport-Do-not-use-loglevel-option-when-running-Anaconda.patch
diff options
context:
space:
mode:
Diffstat (limited to 'backport-Do-not-use-loglevel-option-when-running-Anaconda.patch')
-rw-r--r--backport-Do-not-use-loglevel-option-when-running-Anaconda.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/backport-Do-not-use-loglevel-option-when-running-Anaconda.patch b/backport-Do-not-use-loglevel-option-when-running-Anaconda.patch
new file mode 100644
index 0000000..87f8411
--- /dev/null
+++ b/backport-Do-not-use-loglevel-option-when-running-Anaconda.patch
@@ -0,0 +1,26 @@
+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
+