Print more debug info
Print more debug info
This commit is contained in:
commit
c98788e0b3
1 changed files with 1 additions and 2 deletions
|
@ -67,7 +67,6 @@ configureDHCP() {
|
|||
ip address flush "${VM_NET_TAP}"
|
||||
|
||||
{ set +x; } 2>/dev/null
|
||||
[ "$DEBUG" = "Y" ] && echo
|
||||
|
||||
TAP_NR=$(</sys/class/net/"${VM_NET_TAP}"/ifindex)
|
||||
TAP_PATH="/dev/tap${TAP_NR}"
|
||||
|
@ -196,7 +195,6 @@ configureNAT () {
|
|||
$DNSMASQ ${DNSMASQ_OPTS:+ $DNSMASQ_OPTS}
|
||||
|
||||
{ set +x; } 2>/dev/null
|
||||
[ "$DEBUG" = "Y" ] && echo
|
||||
}
|
||||
|
||||
# ######################################
|
||||
|
@ -244,4 +242,5 @@ else
|
|||
|
||||
fi
|
||||
|
||||
[ "$DEBUG" = "Y" ] && echo && echo "Finished network setup.." && echo
|
||||
NET_OPTS="${NET_OPTS} -device virtio-net-pci,romfile=,netdev=hostnet0,mac=${VM_NET_MAC},id=net0"
|
||||
|
|
Loading…
Reference in a new issue