64
edits
Changes
m
for IP in $VETH_IP_ADDRESS; do echo "Initializing interface $VZHOSTIF for VE$VEID." /sbin/$ifconfig $VZHOSTIF 0done
/usr/sbin/$brctl addif $BRIDGEDEV $VZHOSTIF
Initialize a veth interface on HN only once.
VECONFIGFILE=/etc/vz/conf/$VEID.conf
vzctl=/usr/sbin/vzctl
brctl=/usr/sbin/brctl
ip=/sbin/ip
ifconfig=/sbin/ifconfig
. $GLOBALCONFIGFILE
. $VECONFIGFILE
fi
VEROUTEDEV=$VZHOSTIF
echo "Adding interface $VZHOSTIF to the bridge $BRIDGEDEV."
VEROUTEDEV=$BRIDGEDEV
fi