diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index c915df33..ed5d5f3c 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -525,7 +525,7 @@ find_IPv4_information() { fi # Append the CIDR notation to the IP address, if valid_ip fails this should return 127.0.0.1/8 - IPV4_ADDRESS=$(ip -oneline -family inet address show | grep "${IPv4bare}" | awk '{print $4}' | awk 'END {print}') + IPV4_ADDRESS=$(ip -oneline -family inet address show | grep "${IPv4bare}/" | awk '{print $4}' | awk 'END {print}') } # Get available interfaces that are UP