diff --git a/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg b/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg index 8915f9a..64041e9 100644 --- a/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg +++ b/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg @@ -72,6 +72,7 @@ runcmd: - update-rc.d fail2ban enable - /etc/init.d/fail2ban restart - grub-mkconfig -o /boot/grub/grub.cfg + - ssh-keygen -A - systemctl restart sshd - rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg - touch /etc/cloud/cloud-init.disabled