diff --git a/setup.sh b/setup.sh index d716abb..77f8ea3 100644 --- a/setup.sh +++ b/setup.sh @@ -231,6 +231,7 @@ if ! [ "$?" = "0" ]; then echo "Unable to create home directory - $errors" exit 9 fi +echo "Done." echo "" echo "Mounting chroot mounts..." @@ -465,7 +466,8 @@ if [ "$networktype" = "dhcp" ]; then else connection="$address" fi -echo "(echo \"Server available at $connection\"; cat \"/home/${admin}/.ssh/id_rsa\") | mail -s \"$hostname SSH key\" -A \"/home/${admin}/.ssh/id_rsa\" --content-filename=\"${hostname}.ssh.key\" --content-name=\"${hostname}.ssh.key\" ${admins}" >> /mnt/setup-chroot.sh +# --content-filename=\"${hostname}.ssh.key\" --content-name=\"${hostname}.ssh.key\" +echo "(echo \"Server available at $connection\"; cat \"/home/${admin}/.ssh/id_rsa\") | mail -s \"$hostname SSH key\" -A \"/home/${admin}/.ssh/id_rsa\" \"${admins}\"" >> /mnt/setup-chroot.sh echo "echo \"Done.\"" >> /mnt/setup-chroot.sh echo "exit 0" >> /mnt/setup-chroot.sh