FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 01-10-2011, 01:21 PM
Radek Vykydal
 
Default Add support for ks network --bootproto=ibft (#638131)

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 08:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org