Update dhcp_interfaces.cfg

This commit is contained in:
Molly Lau 2023-10-23 16:00:47 +09:00 committed by GitHub
parent 1301720021
commit f1be4112b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,8 @@ runcmd:
- sed -i '7i \ \ <port port="sshPORT" protocol="udp"/>' /etc/firewalld/zones/public.xml
- dnf install curl dnsutils epel-release file lrzsz net-tools vim wget -y
- systemctl daemon-reload
- echo 'export LC_ALL="C.UTF-8"' >> ~/.bash_profile
- source ~/.bash_profile
- 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