27 lines
827 B
Diff
27 lines
827 B
Diff
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
|
|
|