Update ipv4_static_ipv6_dhcp_interfaces.cfg

This commit is contained in:
Molly Lau 2023-06-17 02:34:10 +09:00 committed by GitHub
parent 4024f6d201
commit 83248ba2a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,8 @@ runcmd:
- /etc/init.d/ssh restart
- 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
- sed -ri '/set nocompatible/a\set backspace=2' /etc/vim/vimrc.tiny
- mv /etc/netplan/50-cloud-init.yaml /etc/netplan/20-netcfg.yaml
- netplan apply
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg