parent
58c3041885
commit
6ef07f2ca3
2 changed files with 2 additions and 1 deletions
|
@ -18,4 +18,3 @@ info "Booting image using $VERS..."
|
||||||
|
|
||||||
[[ "$DEBUG" == [Yy1]* ]] && set -x
|
[[ "$DEBUG" == [Yy1]* ]] && set -x
|
||||||
exec qemu-system-x86_64 ${ARGS:+ $ARGS}
|
exec qemu-system-x86_64 ${ARGS:+ $ARGS}
|
||||||
{ set +x; } 2>/dev/null
|
|
||||||
|
|
|
@ -173,6 +173,8 @@ closeNetwork () {
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
{ pkill -f dnsmasq || true; } 2>/dev/null
|
||||||
|
|
||||||
ip link set "$VM_NET_TAP" down promisc off || true
|
ip link set "$VM_NET_TAP" down promisc off || true
|
||||||
ip link delete "$VM_NET_TAP" || true
|
ip link delete "$VM_NET_TAP" || true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue