mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-10-07 05:46:07 +08:00
Update ipv4_static_interfaces.cfg
This commit is contained in:
parent
88252b6d89
commit
eff7fc25fc
1 changed files with 1 additions and 5 deletions
|
@ -15,11 +15,6 @@ system_info:
|
||||||
# configure hostname
|
# configure hostname
|
||||||
hostname: HostName
|
hostname: HostName
|
||||||
|
|
||||||
# configure timezone
|
|
||||||
user-data:
|
|
||||||
disable_root: false
|
|
||||||
timezone: TimeZone
|
|
||||||
|
|
||||||
# configure localization
|
# configure localization
|
||||||
locale: en_US.UTF-8
|
locale: en_US.UTF-8
|
||||||
|
|
||||||
|
@ -60,6 +55,7 @@ runcmd:
|
||||||
- /etc/init.d/ssh restart
|
- /etc/init.d/ssh restart
|
||||||
- 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
|
||||||
|
- timedatectl set-timezone TimeZone
|
||||||
- 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue