aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/provision
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-xshare/hydractl/provision8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index a5191be..fe4d0d8 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -437,10 +437,6 @@ hydra_sudo_run chroot $WORK apt-get install screen cron lsb-release openssl -y
echo "Installing OpenSSH daemon..."
hydra_sudo_run chroot $WORK apt-get install openssh-server -y
-echo "OpenSSH fingerprints:"
-hydra_sudo_run chroot $WORK ssh-keygen -l -f /etc/ssh/ssh_host_dsa_key.pub
-hydra_sudo_run chroot $WORK ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub
-
# Accounts.
echo "Installing sudo..."
hydra_sudo_run chroot $WORK apt-get install sudo -y
@@ -448,6 +444,10 @@ hydra_sudo_run chroot $WORK apt-get install sudo -y
echo "Choose a root password."
hydra_sudo_run chroot $WORK passwd root
+echo "OpenSSH fingerprints:"
+hydra_sudo_run chroot $WORK ssh-keygen -l -f /etc/ssh/ssh_host_dsa_key.pub
+hydra_sudo_run chroot $WORK ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub
+
cat <<-EOF
Now proceeed with final steps: