Commit 7a6c9a8a authored by Anton Midyukov's avatar Anton Midyukov

net: 50-net-nm band-aid again

When renaming HOSTNAME in the alterator, switches managing interface to etcnet. This creates problems for users. This partial reverts commit d4170557.
parent 72cbb584
#!/bin/sh
. shell-config
defcfg=/etc/net/ifaces/default/options-eth
if [ -x /usr/sbin/NetworkManager -o -x /usr/sbin/connmand ]; then
shell_config_set "$defcfg" NM_CONTROLLED yes
shell_config_set "$defcfg" BOOTPROTO static
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment