mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-09-30 02:15:39 +08:00
Update ipv4_static_interfaces.cfg
This commit is contained in:
parent
29540031cb
commit
f9b6ea2240
1 changed files with 1 additions and 1 deletions
|
@ -50,12 +50,12 @@ runcmd:
|
|||
- sed -ri 's/^#?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config
|
||||
- update-rc.d ssh enable
|
||||
- /etc/init.d/ssh restart
|
||||
- timedatectl set-timezone TimeZone
|
||||
- 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
|
||||
- timedatectl set-timezone TimeZone
|
||||
- touch /etc/cloud/cloud-init.disabled
|
||||
|
||||
# configure cloud-init for NoCloud
|
||||
|
|
Loading…
Add table
Reference in a new issue