Update ipv4_static_interfaces.cfg

This commit is contained in:
Molly Lau 2023-06-08 18:49:06 +09:00 committed by GitHub
parent c1922750c1
commit b1b64e7190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,8 @@ runcmd:
- 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
- echo 'network: {config: disabled}' > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
- reboot
# configure cloud-init for NoCloud
datasource_list: [ NoCloud, None ]