mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
fix: Skip gateway check in debug mode
This commit is contained in:
parent
f8f8c16200
commit
d340361320
@ -234,7 +234,11 @@ fi
|
||||
if [[ "${DHCP}" == [Yy1]* ]]; then
|
||||
|
||||
if [[ "$GATEWAY" == "172."* ]]; then
|
||||
error "You can only enable DHCP while the container is on a macvlan network!" && exit 86
|
||||
if [[ "${DEBUG}" == [Yy1]* ]]; then
|
||||
info "Warning: Are you sure the container is on a macvlan network?"
|
||||
else
|
||||
error "You can only enable DHCP while the container is on a macvlan network!" && exit 86
|
||||
fi
|
||||
fi
|
||||
|
||||
# Configuration for DHCP IP
|
||||
|
Loading…
x
Reference in New Issue
Block a user