Update dhcp_interfaces.cfg

This commit is contained in:
Molly Lau 2023-11-15 11:34:00 +09:00 committed by GitHub
parent bbfb980553
commit 7d0ce626ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,6 @@ network:
# later commands
runcmd:
- systemctl enable sshd
- systemctl restart sshd
- systemctl stop kdump
- systemctl disable kdump
- hostnamectl set-hostname HostName
@ -58,6 +57,8 @@ runcmd:
- systemctl daemon-reload
- echo 'export LC_ALL="C.UTF-8"' >> ~/.bash_profile
- source ~/.bash_profile
- ssh-keygen -A
- systemctl restart sshd
- grub2-mkconfig -o $(readlink -f /etc/grub2-efi.cfg)
- rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg
- touch /etc/cloud/cloud-init.disabled