mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Added step to install software for auto-configuring network
This commit is contained in:
@@ -24,4 +24,6 @@ runcmd:
|
|||||||
- sed -i -e '/^\(#\|\)AllowAgentForwarding/s/^.*$/AllowAgentForwarding no/' /etc/ssh/sshd_config
|
- 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 -e '/^\(#\|\)AuthorizedKeysFile/s/^.*$/AuthorizedKeysFile .ssh\/authorized_keys/' /etc/ssh/sshd_config
|
||||||
- sed -i '$a AllowUsers 2martensAdmin' /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
|
- reboot
|
||||||
Reference in New Issue
Block a user