mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-23 10:40:43 +01:00
import: Manual network only if definitions not set
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user