mirror of https://github.com/apache/cloudstack.git
fixed the script
This commit is contained in:
parent
a9c67d23fa
commit
cd57e03e1d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue