fix: Exclude Podman IP range
This commit is contained in:
parent
e69c641517
commit
ae21a37bc5
1 changed files with 3 additions and 3 deletions
|
|
@ -326,7 +326,7 @@ fi
|
|||
|
||||
if [[ "$DHCP" == [Yy1]* ]]; then
|
||||
|
||||
! checkOS && exit 19
|
||||
! checkOS && [[ "$DEBUG" != [Yy1]* ]] && exit 19
|
||||
|
||||
if [[ "$GATEWAY" == "172."* ]]; then
|
||||
warn "your gateway IP starts with 172.* which is often a sign that you are not on a macvlan network (required for DHCP)!"
|
||||
|
|
@ -337,8 +337,8 @@ if [[ "$DHCP" == [Yy1]* ]]; then
|
|||
|
||||
else
|
||||
|
||||
if [[ "$GATEWAY" != "172."* ]] && [[ "$GATEWAY" != "10."* ]]; then
|
||||
! checkOS && exit 19
|
||||
if [[ "$GATEWAY" != "172."* ]] && [[ "$GATEWAY" != "10.8"* ]] && [[ "$GATEWAY" != "10.9"* ]]; then
|
||||
! checkOS && [[ "$DEBUG" != [Yy1]* ]] && exit 19
|
||||
fi
|
||||
|
||||
# Configuration for static IP
|
||||
|
|
|
|||
Loading…
Reference in a new issue