-Actually add the detected NIC to the uplink of the vSwitch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f1fe6f7801
commit
d869ebbbee
@ -11,6 +11,7 @@ if [ ! -z "$MACADDR" ]; then
|
||||
NIC=`esxcfg-nics -l|grep ${MACADDR}|awk '{print $1}'`
|
||||
esxcfg-vswitch -a vSwitch0:64
|
||||
esxcfg-vswitch -A "Management Network" vSwitch0
|
||||
esxcfg-vswitch -L $NIC vSwitch0
|
||||
esxcfg-vmknic -a -i DHCP -P -p "Management Network"
|
||||
esxcfg-init -R $MACADDR -K vmk0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user