forked from altcloud/mkimage-profiles
50-setup-network: spelling fixes
It's not DHCP we're configuring but rather eth0. (no need for trailing space either)
This commit is contained in:
parent
cb55a89365
commit
bdb2ac05f8
@ -27,8 +27,8 @@ netcfg="/etc/sysconfig/network"
|
||||
|
||||
verbose "Enable networking, set hostname to $HOSTNAME, domainname to $DOMAINNAME"
|
||||
shell_config_set "$netcfg" NETWORKING yes
|
||||
shell_config_set "$netcfg" HOSTNAME "$HOSTNAME"
|
||||
shell_config_set "$netcfg" DOMAINNAME "$DOMAINNAME"
|
||||
shell_config_set "$netcfg" HOSTNAME "$HOSTNAME"
|
||||
shell_config_set "$netcfg" DOMAINNAME "$DOMAINNAME"
|
||||
|
||||
|
||||
if [ -x /usr/sbin/NetworkManager ] ; then
|
||||
@ -46,7 +46,7 @@ else
|
||||
echo BOOTPROTO=dhcp
|
||||
} > /etc/net/ifaces/eth0/options
|
||||
else
|
||||
verbose "NOT configuring DHCP for eth0"
|
||||
verbose "NOT configuring eth0 for DHCP"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user