mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fixed the script
This commit is contained in:
parent
2cea330540
commit
e4162e5be6
@ -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…
x
Reference in New Issue
Block a user