blob: 8f0a1554445b2ed97483da5b80aaef127afa0726 (
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 e73464ef17f54743dc194ad28e32797a10e844a4 Mon Sep 17 00:00:00 2001
From: ctyuncommiter05 <ctyuncommiter05@chinatelecom.cn>
Date: Thu, 24 Jun 2021 16:30:45 +0800
Subject: [PATCH] change inst.repo default value
Solve the problem of U disk installation failure problem.
---
anaconda.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/anaconda.py b/anaconda.py
index 1abdeb2..44b573c 100755
--- a/anaconda.py
+++ b/anaconda.py
@@ -263,6 +263,8 @@ if __name__ == "__main__":
from pyanaconda.flags import flags
from pyanaconda.core.kernel import kernel_arguments
(opts, removed_no_inst_args) = parse_arguments(boot_cmdline=kernel_arguments)
+ if not opts.method:
+ opts.method = opts.stage2
from pyanaconda.core.configuration.anaconda import conf
conf.set_from_opts(opts)
--
2.27.0
|