diff --git a/base_arch/etc/one-context.d/10-network b/base_arch/etc/one-context.d/10-network index 76083bc..2edf977 100755 --- a/base_arch/etc/one-context.d/10-network +++ b/base_arch/etc/one-context.d/10-network @@ -225,5 +225,7 @@ EOT done } +[ -z "$(env | cut -d= -f1 | grep -E '^ETH[0-9]+_IPV*6*')" ] && exit 0 + gen_network_configuration diff --git a/base_deb.one/etc/one-context.d/10-network b/base_deb.one/etc/one-context.d/10-network index 10bb658..df953c4 100755 --- a/base_deb.one/etc/one-context.d/10-network +++ b/base_deb.one/etc/one-context.d/10-network @@ -274,6 +274,8 @@ activate_network() sleep 2 } +[ -z "$(env | cut -d= -f1 | grep -E '^ETH[0-9]+_IPV*6*')" ] && exit 0 + deactivate_network configure_network activate_network diff --git a/base_rpm.one/etc/one-context.d/10-network b/base_rpm.one/etc/one-context.d/10-network index 1401a58..a35c4d4 100755 --- a/base_rpm.one/etc/one-context.d/10-network +++ b/base_rpm.one/etc/one-context.d/10-network @@ -207,5 +207,7 @@ configure_network() sleep 2 } +[ -z "$(env | cut -d= -f1 | grep -E '^ETH[0-9]+_IPV*6*')" ] && exit 0 + configure_network