From 341b55cd37d2225b163d92aa920965a7bca5d0a4 Mon Sep 17 00:00:00 2001 From: Fredrik Lundhag Date: Thu, 25 Jul 2024 16:11:55 +0200 Subject: [PATCH] docs: update vmware.sh Add `"` to handle vmware network interfaces with non-characters name Signed-off-by: Fredrik Lundhag Signed-off-by: Andrey Smirnov --- .../install/virtualized-platforms/vmware/vmware.sh | 4 ++-- .../install/virtualized-platforms/vmware/vmware.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/content/v1.7/talos-guides/install/virtualized-platforms/vmware/vmware.sh b/website/content/v1.7/talos-guides/install/virtualized-platforms/vmware/vmware.sh index e6860b136b..25af964765 100644 --- a/website/content/v1.7/talos-guides/install/virtualized-platforms/vmware/vmware.sh +++ b/website/content/v1.7/talos-guides/install/virtualized-platforms/vmware/vmware.sh @@ -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 diff --git a/website/content/v1.8/talos-guides/install/virtualized-platforms/vmware/vmware.sh b/website/content/v1.8/talos-guides/install/virtualized-platforms/vmware/vmware.sh index e6860b136b..25af964765 100644 --- a/website/content/v1.8/talos-guides/install/virtualized-platforms/vmware/vmware.sh +++ b/website/content/v1.8/talos-guides/install/virtualized-platforms/vmware/vmware.sh @@ -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