mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-10-10 15:25:47 +08:00
Update ipv4_static_interfaces.cfg
This commit is contained in:
parent
953a31906a
commit
065ebd77cc
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ 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
|
||||||
|
- systemctl stop cloud-init
|
||||||
|
- systemctl disable cloud-init
|
||||||
|
- systemctl mask cloud-init
|
||||||
|
|
||||||
# configure cloud-init for NoCloud
|
# configure cloud-init for NoCloud
|
||||||
datasource_list: [ NoCloud, None ]
|
datasource_list: [ NoCloud, None ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue