diff --git a/CentOS-8-EC2.ks b/CentOS-8-EC2.ks index b3ec051..084fe8c 100644 --- a/CentOS-8-EC2.ks +++ b/CentOS-8-EC2.ks @@ -148,7 +148,7 @@ EOL # enable resizing on copied AMIs echo 'install_items+=" sgdisk "' > /etc/dracut.conf.d/sgdisk.conf -echo 'add_drivers+="xen-netfront xen-blkfront "' > /etc/dracut.conf.d/xen.conf +echo 'add_drivers+=" xen-netfront xen-blkfront "' > /etc/dracut.conf.d/xen.conf # Rerun dracut for the installed kernel (not the running kernel): KERNEL_VERSION=$(rpm -q kernel --qf '%{V}-%{R}.%{arch}\n') dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION diff --git a/CentOS-8-Stream-EC2.ks b/CentOS-8-Stream-EC2.ks index 090fac0..21852d8 100644 --- a/CentOS-8-Stream-EC2.ks +++ b/CentOS-8-Stream-EC2.ks @@ -148,7 +148,7 @@ EOL # enable resizing on copied AMIs echo 'install_items+=" sgdisk "' > /etc/dracut.conf.d/sgdisk.conf -echo 'add_drivers+="xen-netfront xen-blkfront "' > /etc/dracut.conf.d/xen.conf +echo 'add_drivers+=" xen-netfront xen-blkfront "' > /etc/dracut.conf.d/xen.conf # Rerun dracut for the installed kernel (not the running kernel): KERNEL_VERSION=$(rpm -q kernel --qf '%{V}-%{R}.%{arch}\n') dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION