[anaconda][master][PATCH] Use DNF by default (#1156483)

Martin Kolman mkolman at redhat.com
Mon Dec 8 18:38:37 UTC 2014


To switch back to using YUM, use inst.dnf=0 on the boot command
line.

Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
 anaconda            | 2 +-
 pyanaconda/flags.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/anaconda b/anaconda
index 70ff3fc..f4bcc5d 100755
--- a/anaconda
+++ b/anaconda
@@ -350,7 +350,7 @@ def parseArguments(argv=None, boot_cmdline=None):
                     help=help_parser.help_text("extlinux"))
     ap.add_argument("--nombr", action="store_true", default=False,
                     help=help_parser.help_text("nombr"))
-    ap.add_argument("--dnf", action="store_true", default=False,
+    ap.add_argument("--dnf", action="store_true", default=True,
                     help=help_parser.help_text("dnf"))
     ap.add_argument("--mpathfriendlynames", action="store_true", default=True,
                     help=help_parser.help_text("mpathfriendlynames"))
diff --git a/pyanaconda/flags.py b/pyanaconda/flags.py
index 50511a1..207f132 100644
--- a/pyanaconda/flags.py
+++ b/pyanaconda/flags.py
@@ -65,7 +65,7 @@ class Flags(object):
         self.gpt = False
         self.leavebootorder = False
         self.testing = False
-        self.dnf = False
+        self.dnf = True
         self.mpathFriendlyNames = True
         # ksprompt is whether or not to prompt for missing ksdata
         self.ksprompt = True
-- 
1.9.3



More information about the anaconda-patches mailing list