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
e9ab423246
commit
93200e8226
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,10 @@ runcmd:
|
|||
- sed -ri '/set nocompatible/a\set backspace=2' /etc/vim/vimrc.tiny
|
||||
- mv /etc/netplan/50-cloud-init.yaml /etc/netplan/20-netcfg.yaml
|
||||
- netplan apply
|
||||
- sed -i '/\[Definition\]/a allowipv6 = auto' /etc/fail2ban/fail2ban.conf
|
||||
- sed -ri 's/backend.*/backend = systemd/g' /etc/fail2ban/jail.conf
|
||||
- update-rc.d fail2ban enable
|
||||
- /etc/init.d/fail2ban restart
|
||||
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
|
||||
- touch /etc/cloud/cloud-init.disabled
|
||||
|
||||
|
|
Loading…
Reference in a new issue