Added step to install software for auto-configuring network

This commit is contained in:
2023-10-31 11:32:47 +01:00
parent 6035edaf21
commit cdd884c2cd
+2
View File
@@ -24,4 +24,6 @@ runcmd:
- sed -i -e '/^\(#\|\)AllowAgentForwarding/s/^.*$/AllowAgentForwarding no/' /etc/ssh/sshd_config
- sed -i -e '/^\(#\|\)AuthorizedKeysFile/s/^.*$/AuthorizedKeysFile .ssh\/authorized_keys/' /etc/ssh/sshd_config
- sed -i '$a AllowUsers 2martensAdmin' /etc/ssh/sshd_config
- curl https://packages.hetzner.com/hcloud/deb/hc-utils_0.0.4-1_all.deb -o /tmp/hc-utils_0.0.4-1_all.deb -s
- apt install /tmp/hc-utils_0.0.4-1_all.deb
- reboot