feat: Skip gateway check in debugmode
This commit is contained in:
parent
e60cf73a9f
commit
9cef9c9c3b
1 changed files with 5 additions and 1 deletions
|
@ -232,8 +232,12 @@ fi
|
|||
if [[ "${DHCP}" == [Yy1]* ]]; then
|
||||
|
||||
if [[ "$GATEWAY" == "172."* ]]; then
|
||||
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
|
||||
configureDHCP
|
||||
|
|
Loading…
Reference in a new issue