[PATCH] [F17] Set serial flag when encountering console argument (#823861)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We forgot to set flags.serial when console= was used to trigger serial mode. Also the whole OptionParser block seems useles to me now, as systemd is not passing any direct arguments to anaconda call.

---
 anaconda |    1 +
 1 file changed, 1 insertion(+)

diff --git a/anaconda b/anaconda
index b76af4d..939262d 100755
--- a/anaconda
+++ b/anaconda
@@ -272,6 +272,7 @@ def parseOptions(argv=None, cmdline=None):
     if cmdline is not None:
         if "console" in cmdline:
             op.set_defaults(display_mode="t")
+            op.set_defaults(serial=True)
 
     (opts, args) = op.parse_args(argv, cmdline=cmdline)
     return (opts, args, op.deprecated_bootargs)
-- 
1.7.10.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux