create-vmachine: Make dhcpcd be quiet

master
Dustin C. Hatch 2014-01-16 21:47:07 -06:00
parent f63f157199
commit 244693943d
1 changed files with 4 additions and 1 deletions

View File

@ -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/