From 2e5f5e5be91fef8d85b5e5ae53ee4e4624466c82 Mon Sep 17 00:00:00 2001 From: sean Date: Thu, 18 Jul 2019 18:49:59 -0700 Subject: [PATCH] tweaks --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 682a9ae..ad892ba 100644 --- a/setup.sh +++ b/setup.sh @@ -463,7 +463,7 @@ else connection="$address" fi # --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\" -r \"${email}\" \"${admins}\"" >> /mnt/setup-chroot.sh +echo "(echo \"Server available at $connection \\n`cat \"/home/${admin}/.ssh/id_rsa\"`\" | mail -s \"$hostname SSH key\" -A \"/home/${admin}/.ssh/id_rsa\" -r \"${email}\" \"${admins}\"" >> /mnt/setup-chroot.sh echo "echo \"Done.\"" >> /mnt/setup-chroot.sh echo "exit 0" >> /mnt/setup-chroot.sh