http://bugzilla.novell.com/show_bug.cgi?id=536309
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=536309#c5
Marcus Schaefer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider| |alexo.veto@gmail.com
Summary|allow NBDROOT=serverIP;port |kiwi: allow NBDROOT to be
|from kernel |set from kernel commandline
|commandline/boot parameter |
--- Comment #5 from Marcus Schaefer 2009-09-03 02:18:17 MDT ---
what about the following patch:
--- a/system/boot/ix86/netboot/suse-linuxrc
+++ b/system/boot/ix86/netboot/suse-linuxrc
@@ -230,6 +230,12 @@ fi
if [ $LOCAL_BOOT = "no" ];then
CONFIG=/etc/config.netclient
#======================================
+ # Store possible values set by cmdline
+ #--------------------------------------
+ if [ ! -z "$NBDROOT" ];then
+ KLIST[0]="NBDROOT=$NBDROOT";
+ fi
+ #======================================
# Connection/access check for SERVER
#--------------------------------------
Echo "Checking for config file: config.$DHCPCHADDR"
@@ -315,6 +321,12 @@ if [ $LOCAL_BOOT = "no" ];then
importFile < $CONFIG
IMPORTED=1
fi
+ #======================================
+ # restore values from cmdline
+ #--------------------------------------
+ for i in ${KLIST[@]};do
+ eval export $i
+ done
fi
it will allow you to set NBDROOT on the kernel commandline and this value
will be preferred over the information from config.<MAC>
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.