From f136e1786d150cd1700a69922624570a3b13621c Mon Sep 17 00:00:00 2001 From: MickLesk Date: Fri, 3 Apr 2026 20:54:59 +0200 Subject: [PATCH] OpenWRT VM: use poweroff instead of halt to properly stop VM --- vm/openwrt-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/openwrt-vm.sh b/vm/openwrt-vm.sh index d2927ec8f..8a8e39cb0 100644 --- a/vm/openwrt-vm.sh +++ b/vm/openwrt-vm.sh @@ -663,7 +663,7 @@ if qm status "$VMID" | grep -q "running"; then send_line_to_vm "uci set network.lan.ipaddr=${LAN_IP_ADDR}" send_line_to_vm "uci set network.lan.netmask=${LAN_NETMASK}" send_line_to_vm "uci commit" - send_line_to_vm "halt" + send_line_to_vm "poweroff" msg_ok "Network interfaces configured in OpenWrt" else msg_error "VM is not running"