Update ipv4_static_interfaces.cfg

This commit is contained in:
Molly Lau 2023-10-30 01:57:11 +09:00 committed by GitHub
parent e82f75adaf
commit 6705bcaec9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,6 @@ network:
# Configure vim for more convenient to use.
# Rename netplan config file.
# Configure and restart fail2ban.
# Create a soft link between /boot/grub/* and /boot/grub2/*
# Update grub.
# Delete cloud-init config file itself and disable it permanently after first execution.
runcmd:
@ -93,7 +92,6 @@ runcmd:
- sed -ri 's/^backend = auto/backend = systemd/g' /etc/fail2ban/jail.conf
- update-rc.d fail2ban enable
- /etc/init.d/fail2ban restart
- ln -s /boot/grub/ /boot/grub2
- grub-mkconfig -o /boot/grub/grub.cfg
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
- touch /etc/cloud/cloud-init.disabled