change ranges

This commit is contained in:
m0duspwnens
2023-07-24 10:40:23 -04:00
parent db09b465bd
commit 9bda01bd29
3 changed files with 7 additions and 9 deletions

View File

@@ -253,7 +253,7 @@ collect_dns_domain() {
collect_dockernet() {
if ! whiptail_dockernet_check; then
whiptail_dockernet_sosnet "172.17.0.0"
whiptail_dockernet_sosnet "172.17.1.0"
while ! valid_ip4 "$DOCKERNET"; do
whiptail_invalid_input
@@ -1100,7 +1100,7 @@ docker_registry() {
logCmd "mkdir -p /etc/docker"
# This will get applied so docker can attempt to start
if [ -z "$DOCKERNET" ]; then
DOCKERNET=172.17.0.0
DOCKERNET=172.17.1.0
fi
# Make the host use the manager docker registry
DNETBIP=$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')/24
@@ -1483,7 +1483,7 @@ create_global() {
fi
if [ -z "$DOCKERNET" ]; then
DOCKERNET=172.17.0.0
DOCKERNET=172.17.1.0
DOCKERBIP=$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')/24
else
DOCKERBIP=$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')/24