Update network.sh
This commit is contained in:
parent
26403222ba
commit
5bb85f9cc2
1 changed files with 3 additions and 3 deletions
|
|
@ -247,7 +247,7 @@ configureNAT() {
|
|||
|
||||
NET_OPTS+=",script=no,downscript=no"
|
||||
|
||||
! configureDNS && return 1
|
||||
configureDNS || return 1
|
||||
|
||||
return 0
|
||||
}
|
||||
|
|
@ -375,7 +375,7 @@ if [[ "$DHCP" == [Yy1]* ]]; then
|
|||
fi
|
||||
|
||||
# Configure for macvtap interface
|
||||
! configureDHCP && exit 20
|
||||
configureDHCP || exit 20
|
||||
|
||||
else
|
||||
|
||||
|
|
@ -404,7 +404,7 @@ else
|
|||
if [[ "${NETWORK,,}" == "user"* ]]; then
|
||||
|
||||
# Configure for usermode networking (slirp)
|
||||
! configureUser && exit 24
|
||||
configureUser || exit 24
|
||||
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue