Update ipv6_static_interfaces.cfg

This commit is contained in:
Molly Lau 2023-06-18 14:39:29 +09:00 committed by GitHub
parent ec8d8471e2
commit 5548e0ef90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,7 @@ runcmd:
- update-rc.d ssh enable - update-rc.d ssh enable
- /etc/init.d/ssh restart - /etc/init.d/ssh restart
- sed -i 's/#$nrconf{restart} = '"'"'i'"'"';/$nrconf{restart} = '"'"'a'"'"';/g' /etc/needrestart/needrestart.conf - 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 update
- apt install dnsutils fail2ban file lrzsz net-tools traceroute unzip vim wget xz-utils -y - 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 - sed -ri 's/set compatible/set nocompatible/g' /etc/vim/vimrc.tiny