From 7300e9bea3668f2587c109930bc5bab4d4c29682 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sat, 4 May 2024 14:53:20 -0700 Subject: [PATCH] disable dracut --- config.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.sh b/config.sh index 454a9f6..89e0bd7 100644 --- a/config.sh +++ b/config.sh @@ -200,7 +200,7 @@ EOF add_drivers+=" hv_vmbus hv_netvsc hv_storvsc " EOF - dracut -f -v + #dracut -f -v } ################################################################################ @@ -233,8 +233,8 @@ EOF echo 'install_items+=" sgdisk "' > /etc/dracut.conf.d/sgdisk.conf echo 'add_drivers+=" xen-netfront xen-blkfront "' > /etc/dracut.conf.d/xen.conf - KERNEL_VERSION=$(rpm -q kernel --qf '%{V}-%{R}.%{arch}\n') - dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION + #KERNEL_VERSION=$(rpm -q kernel --qf '%{V}-%{R}.%{arch}\n') + #dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION cat >> /etc/chrony.conf << EOF # Amazon Time Sync Service @@ -629,7 +629,7 @@ EOF popd #echo "Regenerating kernel" #KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n') - dracut -f -v + #dracut -f -v rm -rf /etc/ssh/ssh_host_* # Might not be needed for 10