Update opnsense-vm.sh

This commit is contained in:
Rögl-Brunner Michel 2025-02-07 10:24:42 +01:00
parent c7ca071a1b
commit 094d0f9201

View File

@ -600,7 +600,7 @@ if [ "$START_VM" == "yes" ]; then
send_line_to_vm "root"
send_line_to_vm "fetch https://raw.githubusercontent.com/opnsense/update/master/src/bootstrap/opnsense-bootstrap.sh.in"
qm set $VMID \
-net1 virtio,bridge=${WAN_BRG},macaddr=${WAN_MAC} 2>/dev/null
-net1 virtio,bridge=${WAN_BRG},macaddr=${WAN_MAC} &>/dev/null
sleep 10
send_line_to_vm "sh ./opnsense-bootstrap.sh.in -y -f -r ${RELEASE}"
msg_ok "OpenSense VM is being installed, do not close the terminal, or the installation will fail."