diff --git a/Linux_reinstall/RedHat/RHELinit.sh b/Linux_reinstall/RedHat/RHELinit.sh index 40f2f9a..35dd2a1 100644 --- a/Linux_reinstall/RedHat/RHELinit.sh +++ b/Linux_reinstall/RedHat/RHELinit.sh @@ -111,10 +111,6 @@ sed -ri 's/ip6Gate/'${ip6Gate}'/g' /mnt/etc/cloud/cloud.cfg.d/99-fake_cloud.cfg sed -ri 's/ip6DNS1/'${ip6DNS1}'/g' /mnt/etc/cloud/cloud.cfg.d/99-fake_cloud.cfg sed -ri 's/ip6DNS2/'${ip6DNS2}'/g' /mnt/etc/cloud/cloud.cfg.d/99-fake_cloud.cfg -# Disable any datahouse -# Reference: https://github.com/canonical/cloud-init/issues/3772 -echo 'datasource_list: [ NoCloud, None ]' > /mnt/etc/cloud/cloud.cfg.d/90_dpkg.cfg - # disable IPv6 [[ "$setIPv6" == "0" ]] && { sed -ri 's/net.ifnames=0 biosdevname=0/net.ifnames=0 biosdevname=0 ipv6.disable=1/g' /mnt/etc/default/grub