diff --git a/CentOS-8-GenericCloud.ks b/CentOS-8-GenericCloud.ks index 6c98aea..cea3ef8 100644 --- a/CentOS-8-GenericCloud.ks +++ b/CentOS-8-GenericCloud.ks @@ -1,6 +1,5 @@ auth --enableshadow --passalgo=sha512 reboot -url --url="mirror.centos.org/centos/7/os/x86_64" firewall --enabled --service=ssh firstboot --disable ignoredisk --only-use=vda @@ -32,7 +31,7 @@ rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab ) mkdir /boot/grub echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do - echo "title CentOS Linux 7 ($kv)" >> /boot/grub/grub.conf + echo "title CentOS Linux 8 ($kv)" >> /boot/grub/grub.conf echo -e "\troot (hd0)" >> /boot/grub/grub.conf echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf