[f15-branch] Do not pass --sshd to stage2.

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

 



Anaconda does not recognize it as a parameter. Related commit
3cdf5ca38026cfef8d8f09e116817488af13124b.

Related: rhbz#643738
---
 loader/loader.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 3a801d1..84c22f5 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1111,6 +1111,9 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData,
             } else if (!strcasecmp(k, "proxy")) {
                 splitProxyParam(v, &loaderData->proxyUser,
                                 &loaderData->proxyPassword, &loaderData->proxy);
+            } else if (!strcasecmp(k, "sshd")) {
+                logMessage(INFO, "early networking required for sshd");
+                flags |= LOADER_FLAGS_EARLY_NETWORKING;
             }
         }
 
@@ -1133,7 +1136,6 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData,
                        !strcasecmp(k, "dmraid") ||
                        !strcasecmp(k, "nodmraid") ||
                        !strcasecmp(k, "xdriver") ||
-                       !strcasecmp(k, "sshd") ||
                        !strcasecmp(k, "syslog")) {
 
                 /* vnc implies graphical */
@@ -1146,7 +1148,7 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData,
                  * by loader, so an active connection is ready once we get
                  * to anaconda
                  */
-                if (!strcasecmp(k, "syslog") || !strcasecmp(k, "vnc") || !strcasecmp(k, "sshd")) {
+                if (!strcasecmp(k, "syslog") || !strcasecmp(k, "vnc")) {
                     logMessage(INFO, "early networking required for %s", k);
                     flags |= LOADER_FLAGS_EARLY_NETWORKING;
                 }
-- 
1.7.3.3

_______________________________________________
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