create-vmachine: Reduce output from ssh-keygen

master
Dustin C. Hatch 2014-01-16 21:47:44 -06:00
parent 244693943d
commit 42f54e4f63
1 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,8 @@ ln -s /etc/init.d/net.eth0 "${MOUNTPOINT}"/etc/runlevels/default/
for keytype in dsa rsa ecdsa; do for keytype in dsa rsa ecdsa; do
key="${MOUNTPOINT}"/etc/ssh/ssh_host_${keytype}_key key="${MOUNTPOINT}"/etc/ssh/ssh_host_${keytype}_key
echo "Creating ${keytype} SSH host key..." echo "Creating ${keytype} SSH host key..."
ssh-keygen -t ${keytype} -f "${key}" -N '' || true ssh-keygen -t ${keytype} -f "${key}" -N '' -q || continue
ssh-keygen -f "${key}" -l
done done
echo "Configuring fstab..." echo "Configuring fstab..."