From 985cdf59fcfccbec426692d8c2232450bcb6aa1d Mon Sep 17 00:00:00 2001 From: sean Date: Thu, 18 Jul 2019 17:27:00 -0700 Subject: [PATCH] tweaks --- setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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