change default docker net/range

This commit is contained in:
m0duspwnens
2023-07-24 09:23:13 -04:00
parent 4b0126a2e7
commit db09b465bd
2 changed files with 5 additions and 5 deletions

View File

@@ -253,7 +253,7 @@ collect_dns_domain() {
collect_dockernet() {
if ! whiptail_dockernet_check; then
whiptail_dockernet_sosnet "172.17.1.0"
whiptail_dockernet_sosnet "172.17.0.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.1.0
DOCKERNET=172.17.0.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.1.0
DOCKERNET=172.17.0.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