use genesis kernel/initrd for sysclone.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
afdd5ef8a7
commit
996e2e9741
@ -108,6 +108,8 @@ if dmidecode|grep IPMI > /dev/null; then
|
||||
modprobe ipmi_si
|
||||
modprobe ipmi_devintf
|
||||
fi
|
||||
DEVICE=$bootnic
|
||||
export DEVICE
|
||||
XCATPORT=3001
|
||||
export XCATPORT
|
||||
for parm in `cat /proc/cmdline`; do
|
||||
@ -117,6 +119,7 @@ for parm in `cat /proc/cmdline`; do
|
||||
XCATPORT=`echo $parm|awk -F= '{print $2}'|awk -F: '{print $2}'`
|
||||
fi
|
||||
done
|
||||
export XCATMASTER
|
||||
if [ "$destiny" != "discover" ]; then #we aren't discoverying, we probably can and should get a cert
|
||||
/bin/getcert $XCATMASTER:$XCATPORT
|
||||
fi
|
||||
@ -159,6 +162,10 @@ while :; do
|
||||
reboot -f
|
||||
elif [ "$dest" = "install" -o "$dest" = "netboot" ]; then
|
||||
reboot -f
|
||||
elif [ "$dest" = sysclone ]; then
|
||||
/bin/dosysclone
|
||||
destiny=''
|
||||
dest=''
|
||||
elif [ "$dest" = standby ]; then
|
||||
destiny=''
|
||||
dest=''
|
||||
|
Loading…
Reference in New Issue
Block a user