Correct bootnic variable in nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c4db886958
commit
db3cd5cc2f
@ -10,7 +10,7 @@ elif [ $reason = "BOUND" ]; then
|
||||
fi
|
||||
if [ ! -z "$new_host_name" ]; then
|
||||
hostname $new_host_name
|
||||
lldptool -T -i $interface -V 5 enableTx=yes
|
||||
lldptool -T -i $interface -V 5 enableTx=yes
|
||||
fi
|
||||
if [ ! -z "$new_domain_name" ]; then
|
||||
echo search $new_domain_name >> /etc/resolv.conf
|
||||
|
@ -12,7 +12,7 @@ if [ ! -z "$BOOTIF" ]; then
|
||||
echo -n "Waiting for device with address $BOOTIF to appear.."
|
||||
gripeiter=300
|
||||
while [ -z "$bootnic" ]; do
|
||||
bootnic=`ip link show|grep -B1 $BOOTIF|grep mtu|awk '{print $2}'`
|
||||
bootnic=`ip link show|grep -B1 $BOOTIF|grep mtu|awk '{print $2}'|sed -e 's/:$//'`
|
||||
sleep 0.1
|
||||
if [ $gripeiter = 0 ]; then
|
||||
echo "ERROR"
|
||||
|
Loading…
Reference in New Issue
Block a user