remove /24 from DOCKERBIP

This commit is contained in:
m0duspwnens
2023-07-21 16:36:03 -04:00
parent 4c9d172721
commit c4d81a249a

View File

@@ -1484,9 +1484,9 @@ create_global() {
if [ -z "$DOCKERNET" ]; then
DOCKERNET=172.17.1.0
DOCKERBIP=$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')/24
DOCKERBIP=$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')
else
DOCKERBIP=$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')/24
DOCKERBIP=$(echo $DOCKERNET | awk -F'.' '{print $1,$2,$3,1}' OFS='.')
fi
if [ -f "$global_pillar_file" ]; then