Update ipv4_static_interfaces.cfg

This commit is contained in:
Molly Lau 2023-06-14 04:19:57 +09:00 committed by GitHub
parent 48515c8bef
commit 29540031cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,9 +15,6 @@ system_info:
# configure hostname # configure hostname
hostname: HostName hostname: HostName
# timezone
timezone: TimeZone
# configure root user # configure root user
users: users:
- name: root - name: root
@ -58,6 +55,7 @@ runcmd:
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg - rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
- mv /etc/netplan/50-cloud-init.yaml /etc/netplan/20-netcfg.yaml - mv /etc/netplan/50-cloud-init.yaml /etc/netplan/20-netcfg.yaml
- netplan apply - netplan apply
- timedatectl set-timezone TimeZone
- touch /etc/cloud/cloud-init.disabled - touch /etc/cloud/cloud-init.disabled
# configure cloud-init for NoCloud # configure cloud-init for NoCloud