mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-16 06:05:33 +08:00
Update ipv4_static_ipv6_static_interfaces.cfg
This commit is contained in:
parent
d6adaca9b7
commit
a8293f8b79
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,9 @@ runcmd:
|
||||||
- apt update
|
- 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
|
- 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
|
||||||
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
|
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
|
||||||
|
- echo 'network: {config: disabled}' > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
|
||||||
|
- mv /etc/netplan/50-cloud-init.yaml /etc/netplan/20-netcfg.yaml
|
||||||
|
- netplan apply
|
||||||
|
|
||||||
# configure cloud-init for NoCloud
|
# configure cloud-init for NoCloud
|
||||||
datasource_list: [ NoCloud, None ]
|
datasource_list: [ NoCloud, None ]
|
||||||
|
|
Loading…
Reference in a new issue