Update opnsense-vm.sh

This commit is contained in:
Michel Roegl-Brunner 2025-02-07 10:23:27 +01:00 committed by GitHub
parent c7ca071a1b
commit 20fd1e5a83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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."