mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 21:54:40 +08:00
Update dhcp_interfaces.cfg
This commit is contained in:
parent
743a8e0d53
commit
79762205f3
1 changed files with 4 additions and 1 deletions
|
@ -15,6 +15,9 @@ system_info:
|
|||
# configure hostname
|
||||
hostname: HostName
|
||||
|
||||
# configure localization
|
||||
locale: en_US.UTF-8
|
||||
|
||||
# timezone
|
||||
timezone: TimeZone
|
||||
|
||||
|
@ -50,9 +53,9 @@ runcmd:
|
|||
- /etc/init.d/ssh restart
|
||||
- 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
|
||||
- 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
|
||||
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
|
||||
- touch /etc/cloud/cloud-init.disabled
|
||||
|
||||
# configure cloud-init for NoCloud
|
||||
|
|
Loading…
Reference in a new issue