Skip to content

Commit

Permalink
docs: update vmware.sh
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
joltcan authored and smira committed Jul 25, 2024
1 parent 117628a commit 341b55c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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


Expand Down

0 comments on commit 341b55c

Please sign in to comment.