From 7436ebeb9dca3d919a00ca779407ed35f7675e4c Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Sun, 18 Jun 2023 14:38:59 +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 bca3bfe..a66d366 100644 --- a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_ipv6_dhcp_interfaces.cfg +++ b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_ipv6_dhcp_interfaces.cfg @@ -58,6 +58,7 @@ runcmd: - update-rc.d ssh enable - /etc/init.d/ssh restart - sed -i 's/#$nrconf{restart} = '"'"'i'"'"';/$nrconf{restart} = '"'"'a'"'"';/g' /etc/needrestart/needrestart.conf + - sed -i "s/#\$nrconf{kernelhints} = -1;/\$nrconf{kernelhints} = -1;/g" /etc/needrestart/needrestart.conf - apt update - apt install dnsutils fail2ban file lrzsz net-tools traceroute unzip vim wget xz-utils -y - sed -ri 's/set compatible/set nocompatible/g' /etc/vim/vimrc.tiny