From 171264bd9b2cb8012ee39e05ded319fe815550e9 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Tue, 14 Nov 2023 05:35:06 +0900 Subject: [PATCH] Update ipv4_static_ipv6_dhcp_interfaces.cfg --- .../Ubuntu/CloudInit/ipv4_static_ipv6_dhcp_interfaces.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_ipv6_dhcp_interfaces.cfg b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_ipv6_dhcp_interfaces.cfg index d1263d2..5486246 100644 --- a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_ipv6_dhcp_interfaces.cfg +++ b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_ipv6_dhcp_interfaces.cfg @@ -77,6 +77,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