Update ipv4_static_ipv6_static_interfaces.cfg

This commit is contained in:
Molly Lau 2023-10-23 16:03:39 +09:00 committed by GitHub
parent 6957adb573
commit 7f0c05b858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,6 +61,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