Update openwrt-vm.sh

shfmt
This commit is contained in:
tteckster 2023-05-22 07:40:19 -04:00 committed by GitHub
parent c5ee4993c8
commit 6a7cd6b956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 61 additions and 62 deletions

View File

@ -406,8 +406,7 @@ send_line_to_vm "uci set firewall.@zone[1].forward='ACCEPT'"
send_line_to_vm "uci commit"
send_line_to_vm "halt"
msg_ok "Pre-configured network interfaces"
until qm status $VMID | grep -q "stopped"
do
until qm status $VMID | grep -q "stopped"; do
sleep 2
done
msg_info "Adding bridge interface"