From 7220c6f0bf26b18dc8381eeda9ce4a7eb76e144b Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Sun, 17 Sep 2023 14:37:48 +0900 Subject: [PATCH] Update dhcp_interfaces.cfg --- Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg b/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg index 7fc7b0b..5469fa9 100644 --- a/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg +++ b/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg @@ -62,7 +62,7 @@ runcmd: - 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 + - apt install dnsutils fail2ban file lrzsz net-tools vim wget -y - sed -ri 's/set compatible/set nocompatible/g' /etc/vim/vimrc.tiny - sed -ri '/set nocompatible/a\set backspace=2' /etc/vim/vimrc.tiny - mv /etc/netplan/50-cloud-init.yaml /etc/netplan/20-netcfg.yaml