[PATCH rhel6-branch 05/11] Add support for ks network --bootproto=ibft (#638131)

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

 



---
 loader/net.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/loader/net.c b/loader/net.c
index 469f798..8446733 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -1594,6 +1594,9 @@ void setKickstartNetwork(struct loaderData_s * loaderData, int argc,
                        !strncmp(bootProto, "bootp", 4))) {
         loaderData->ipv4 = strdup("dhcp");
         loaderData->ipinfo_set = 1;
+    } else if (bootProto && (!strncmp(bootProto, "ibft", 4))) {
+        loaderData->ipv4 = strdup("ibft");
+        loaderData->ipinfo_set = 1;
     } else if (loaderData->ipv4) {
         /* JKFIXME: this assumes a bit... */
         loaderData->ipinfo_set = 1;
@@ -1601,7 +1604,7 @@ void setKickstartNetwork(struct loaderData_s * loaderData, int argc,
 
     /* now make sure the specified bootproto is valid */
     if (bootProto && strcmp(bootProto, "dhcp") && strcmp(bootProto, "bootp") &&
-        strcmp(bootProto, "static") && strcmp(bootProto, "query")) {
+        strcmp(bootProto, "static") && strcmp(bootProto, "query") && strcmp(bootProto, "ibft")) {
         newtWinMessage(_("Kickstart Error"), _("OK"),
                        _("Bad bootproto %s specified in network command"),
                        bootProto);
-- 
1.7.2

_______________________________________________
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