summaryrefslogtreecommitdiff
path: root/backport-Do-not-use-loglevel-option-when-running-Anaconda.patch
blob: 87f8411dd6a56212d601208721e1b2c7bf6531ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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