@@ -93,6 +93,5 @@ if [ -n "$PACKER" ]; then
sed -i "/^#\?PermitRootLogin/d" /mnt/etc/ssh/sshd_config
echo "PermitRootLogin yes" >> /mnt/etc/ssh/sshd_config
fi
-sleep 10m
umount -R /mnt
(sleep 5 && systemctl reboot) &