diff --git a/Rocky-8-EC2-Base.ks b/Rocky-8-EC2-Base.ks index 6c37edc..453a37b 100644 --- a/Rocky-8-EC2-Base.ks +++ b/Rocky-8-EC2-Base.ks @@ -179,7 +179,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/Rocky-8-EC2-LVM.ks b/Rocky-8-EC2-LVM.ks index 838840c..b80d471 100644 --- a/Rocky-8-EC2-LVM.ks +++ b/Rocky-8-EC2-LVM.ks @@ -179,7 +179,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/cloud/rocky-ec2-base.ks b/cloud/rocky-ec2-base.ks index a482a85..039fe77 100644 --- a/cloud/rocky-ec2-base.ks +++ b/cloud/rocky-ec2-base.ks @@ -124,7 +124,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/cloud/rocky-ec2-lvm.ks b/cloud/rocky-ec2-lvm.ks index bf9be4e..9dc8339 100644 --- a/cloud/rocky-ec2-lvm.ks +++ b/cloud/rocky-ec2-lvm.ks @@ -124,7 +124,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