import: Manual network only if definitions not set

This commit is contained in:
tschettervictor
2025-02-28 22:31:13 -07:00
committed by GitHub
parent bb228a4f74
commit 2bd35fc9d2

View File

@@ -343,7 +343,7 @@ generate_config() {
fi
# Let the user configure network manually
if [ -z "${NETIF_CONFIG}" ]; then
if [ -z "${IP4_DEFINITION}" ] && [ -z "${IP6_DEFINITION}" ]; then
IP4_DEFINITION="ip4.addr = lo1|-;"
IP6_DEFINITION=""
IP6_MODE="disable"