From c5ee4993c8aab480c6e7126db1cddfe52b614ab6 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 22 May 2023 07:36:05 -0400 Subject: [PATCH] Update openwrt-vm.sh tweak --- vm/openwrt-vm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vm/openwrt-vm.sh b/vm/openwrt-vm.sh index dc855fb9..2ad04848 100644 --- a/vm/openwrt-vm.sh +++ b/vm/openwrt-vm.sh @@ -387,6 +387,7 @@ qm set $VMID \ ### https://github.com/tteck/Proxmox [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D7EP4GF)" >/dev/null msg_ok "OpenWRT VM ${CL}${BL}(${HN})" +msg_info "Pre-configuring network interfaces" qm start $VMID sleep 15 send_line_to_vm "" @@ -409,6 +410,7 @@ until qm status $VMID | grep -q "stopped" do sleep 2 done +msg_info "Adding bridge interface" qm set $VMID \ -net0 virtio,bridge=$BRG,macaddr=$MAC$VLAN$MTU \ -net1 virtio,bridge=${LAN_BRG},macaddr=${LAN_MAC}${LAN_VLAN}$MTU >/dev/null 2>/dev/null