From 7132bb9f7ba6f5c5e6ddd68980e810860e62e318 Mon Sep 17 00:00:00 2001 From: myminseok Date: Thu, 4 Aug 2022 22:27:20 +0900 Subject: [PATCH] bugfix/vyata-dhcp-ip-allocation-issues Signed-off-by: myminseok --- src/partials/vyatta.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/partials/vyatta.md b/src/partials/vyatta.md index 106512c4..90c9acea 100644 --- a/src/partials/vyatta.md +++ b/src/partials/vyatta.md @@ -25,7 +25,7 @@ VM for your specific guide. For example, if you are using the appropriate for this lab: ```sh -DEPLOYMENT_GUIDE="tko-on-sphere.md" # <-- change this +DEPLOYMENT_GUIDE="tko-on-vsphere.md" # <-- change this VM_NAME="tkg-router" govc vm.create -annotation="TKG Networking Fabric" \ -c=2 -iso=isos/vyos.iso \ @@ -39,7 +39,7 @@ do \ if test "$(wc -c <<< "$name")" -gt 12; then name=$(head -c 10 <<< "$name"); fi; \ vlan="$(awk -F '|' '{print $4}' <<< "$net" | tr -d ' ')"; \ cidr="$(awk -F '|' '{print $5}' <<< "$net" | sed -E 's/ +//' | tr -d ' ' | tr '/' '_')"; \ - cmd="govc host.portgroup.add -vswitch vSwitch0 ${name}-${cidr}-${vlan}"; \ + cmd="govc host.portgroup.add -vswitch vSwitch0 -vlan=${vlan} ${name}-${cidr}-${vlan}"; \ echo "--> $cmd"; \ $cmd; \ govc host.portgroup.change -allow-promiscuous=true -forged-transmits=true -mac-changes=true "${name}-${cidr}-${vlan}"; \ @@ -346,3 +346,4 @@ save ``` You can terminate your SSH session once finished. +