mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-16 06:05:33 +08:00
Update ipv4_static_interfaces.cfg
This commit is contained in:
parent
48515c8bef
commit
29540031cb
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue