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

Brian C. Lane bcl at redhat.com
Mon Dec 8 21:45:22 UTC 2014


On Mon, Dec 08, 2014 at 07:38:37PM +0100, Martin Kolman wrote:
> 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,

Maybe switch it to --nodnf?

ap.add_argument("--nodnf", action="store_false", dest="dnf", default=True,

That way it can be switched off for debugging if we need to.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list