docs: update vmware.sh
Add `"` to handle vmware network interfaces with non-characters name Signed-off-by: Fredrik Lundhag <f@mekk.com> Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This commit is contained in:
parent
117628aa60
commit
341b55cd37
@ -60,7 +60,7 @@ create () {
|
||||
echo "GOVC_NETWORK is unset, assuming default VM Network";
|
||||
else
|
||||
echo "GOVC_NETWORK set to ${GOVC_NETWORK}";
|
||||
govc vm.network.change -vm ${CLUSTER_NAME}-control-plane-${i} -net ${GOVC_NETWORK} ethernet-0
|
||||
govc vm.network.change -vm ${CLUSTER_NAME}-control-plane-${i} -net "${GOVC_NETWORK}" ethernet-0
|
||||
fi
|
||||
|
||||
govc vm.power -on ${CLUSTER_NAME}-control-plane-${i}
|
||||
@ -87,7 +87,7 @@ create () {
|
||||
echo "GOVC_NETWORK is unset, assuming default VM Network";
|
||||
else
|
||||
echo "GOVC_NETWORK set to ${GOVC_NETWORK}";
|
||||
govc vm.network.change -vm ${CLUSTER_NAME}-worker-${i} -net ${GOVC_NETWORK} ethernet-0
|
||||
govc vm.network.change -vm ${CLUSTER_NAME}-worker-${i} -net "${GOVC_NETWORK}" ethernet-0
|
||||
fi
|
||||
|
||||
|
||||
|
@ -60,7 +60,7 @@ create () {
|
||||
echo "GOVC_NETWORK is unset, assuming default VM Network";
|
||||
else
|
||||
echo "GOVC_NETWORK set to ${GOVC_NETWORK}";
|
||||
govc vm.network.change -vm ${CLUSTER_NAME}-control-plane-${i} -net ${GOVC_NETWORK} ethernet-0
|
||||
govc vm.network.change -vm ${CLUSTER_NAME}-control-plane-${i} -net "${GOVC_NETWORK}" ethernet-0
|
||||
fi
|
||||
|
||||
govc vm.power -on ${CLUSTER_NAME}-control-plane-${i}
|
||||
@ -87,7 +87,7 @@ create () {
|
||||
echo "GOVC_NETWORK is unset, assuming default VM Network";
|
||||
else
|
||||
echo "GOVC_NETWORK set to ${GOVC_NETWORK}";
|
||||
govc vm.network.change -vm ${CLUSTER_NAME}-worker-${i} -net ${GOVC_NETWORK} ethernet-0
|
||||
govc vm.network.change -vm ${CLUSTER_NAME}-worker-${i} -net "${GOVC_NETWORK}" ethernet-0
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user