diff --git a/share/scripts/context-packages/base_deb/etc/one-context.d/00-network b/share/scripts/context-packages/base_deb/etc/one-context.d/00-network index 92ff47eab3..c10af1acb1 100755 --- a/share/scripts/context-packages/base_deb/etc/one-context.d/00-network +++ b/share/scripts/context-packages/base_deb/etc/one-context.d/00-network @@ -151,6 +151,7 @@ EOT GATEWAY=$(get_gateway) IPV6=$(get_iface_var "IPV6") + [[ -z $IPV6 ]] && IPV6=$(get_iface_var "IP6") GATEWAY6=$(get_iface_var "GATEWAY6") CONTEXT_FORCE_IPV4=$(get_iface_var "CONTEXT_FORCE_IPV4") diff --git a/share/scripts/context-packages/base_rpm/etc/one-context.d/00-network b/share/scripts/context-packages/base_rpm/etc/one-context.d/00-network index 6886d538f7..92f4e7e2ed 100755 --- a/share/scripts/context-packages/base_rpm/etc/one-context.d/00-network +++ b/share/scripts/context-packages/base_rpm/etc/one-context.d/00-network @@ -142,6 +142,7 @@ gen_network_configuration() GATEWAY=$(get_gateway) IPV6=$(get_iface_var "IPV6") + [[ -z $IPV6 ]] && IPV6=$(get_iface_var "IP6") GATEWAY6=$(get_iface_var "GATEWAY6") CONTEXT_FORCE_IPV4=$(get_iface_var "CONTEXT_FORCE_IPV4")