mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 21:54:40 +08:00
Update ipv4_static_interfaces.cfg
This commit is contained in:
parent
c1922750c1
commit
b1b64e7190
1 changed files with 2 additions and 0 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Reference in a new issue