diff --git a/terraform/cloud-init.yaml b/terraform/cloud-init.yaml index 4067798..86014ee 100644 --- a/terraform/cloud-init.yaml +++ b/terraform/cloud-init.yaml @@ -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 \ No newline at end of file