fixed the script

This commit is contained in:
anthony 2011-08-16 15:24:34 -07:00
parent 2cea330540
commit e4162e5be6

View File

@ -21,7 +21,7 @@ do
do
tagpif=$(xe pif-list network-uuid=$vlan_network host-uuid=$host --minimal)
if [ -z $tagpif ]; then
pif=$(xe pif-list host-uuid=$host network_uuid=$untagged_network --minimal)
pif=$(xe pif-list host-uuid=$host network-uuid=$untagged_network --minimal)
xe vlan-create network-uuid=$vlan_network pif-uuid=$pif vlan=$vlan
fi
done