create-vmachine: Make dhcpcd be quiet
parent
f63f157199
commit
244693943d
|
@ -102,7 +102,10 @@ ln -s /usr/share/zoneinfo/${VM_TZ} "${MOUNTPOINT}"/etc/localtime
|
||||||
echo ${VM_TZ} > "${MOUNTPOINT}"/etc/timezone
|
echo ${VM_TZ} > "${MOUNTPOINT}"/etc/timezone
|
||||||
|
|
||||||
echo "Configuring network..."
|
echo "Configuring network..."
|
||||||
echo 'config_eth0="dhcp"' > "${MOUNTPOINT}"/etc/conf.d/net
|
cat <<EOF > "${MOUNTPOINT}"/etc/conf.d/net
|
||||||
|
config_eth0="dhcp"
|
||||||
|
dhcpcd_eth0="-q"
|
||||||
|
EOF
|
||||||
ln -s net.lo "${MOUNTPOINT}"/etc/init.d/net.eth0
|
ln -s net.lo "${MOUNTPOINT}"/etc/init.d/net.eth0
|
||||||
ln -s /etc/init.d/net.eth0 "${MOUNTPOINT}"/etc/runlevels/default/
|
ln -s /etc/init.d/net.eth0 "${MOUNTPOINT}"/etc/runlevels/default/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue