Update ipv4_static_interfaces.cfg

This commit is contained in:
Molly Lau 2023-06-14 05:29:41 +09:00 committed by GitHub
parent eff7fc25fc
commit 1f96caa89d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,9 +56,9 @@ runcmd:
- apt update
- apt install curl dnsutils efibootmgr fail2ban figlet file lrzsz jq lsof lsb-release net-tools python3 subnetcalc telnet traceroute unzip vim wget xz-utils -y
- timedatectl set-timezone TimeZone
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
- 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
- touch /etc/cloud/cloud-init.disabled
# configure cloud-init for NoCloud