mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-09-21 22:04:57 +08:00
Update ipv4_static_interfaces.cfg
This commit is contained in:
parent
b2156e91d6
commit
08783bcb1d
1 changed files with 1 additions and 1 deletions
|
@ -65,13 +65,13 @@ network:
|
|||
# Reload systemd.
|
||||
# Make sshd service loading automatically at the next reboot.
|
||||
# Kill the original sshd service so that to liberate the occupation of "0.0.0.0:22" and "[::]:22" to avoid "error: Bind to port sth on sth failed: Address already in use." causes restarting and applying new configs failure of the sshd service.
|
||||
# Restart sshd service.
|
||||
# Disable kernel need to restart: https://askubuntu.com/questions/1349884/how-to-disable-pending-kernel-upgrade-message
|
||||
# Install some common components.
|
||||
# Configure vim for more convenient to use.
|
||||
# Rename netplan config file.
|
||||
# Configure and restart fail2ban.
|
||||
# Update grub.
|
||||
# Restart sshd service.
|
||||
# Delete cloud-init config file itself and disable it permanently after first execution.
|
||||
runcmd:
|
||||
- systemctl disable --now ssh.socket
|
||||
|
|
Loading…
Add table
Reference in a new issue