diff --git a/base_deb.one/etc/one-context.d/10-network b/base_deb.one/etc/one-context.d/10-network index 28a84e9..6e9be3a 100755 --- a/base_deb.one/etc/one-context.d/10-network +++ b/base_deb.one/etc/one-context.d/10-network @@ -72,13 +72,6 @@ get_gateway() { if is_gateway; then gateway=$(get_iface_var "GATEWAY") - if [ -z "$gateway" ]; then - if [ "$DEV" = "eth0" ]; then - net_prefix=$(echo $NETWORK | cut -d'.' -f1,2,3) - gateway="${net_prefix}.1" - fi - fi - echo $gateway fi } diff --git a/base_rpm.one/etc/one-context.d/10-network b/base_rpm.one/etc/one-context.d/10-network index dd968e4..2a2d36c 100755 --- a/base_rpm.one/etc/one-context.d/10-network +++ b/base_rpm.one/etc/one-context.d/10-network @@ -72,13 +72,6 @@ get_gateway() { if is_gateway; then gateway=$(get_iface_var "GATEWAY") - if [ -z "$gateway" ]; then - if [ "$DEV" = "eth0" ]; then - net_prefix=$(echo $NETWORK | cut -d'.' -f1,2,3) - gateway="${net_prefix}.1" - fi - fi - echo $gateway fi }