From 93c7769921af44d827f7a0320f0320b2f0fe8299 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sat, 4 May 2024 14:46:09 -0700 Subject: [PATCH] remove kernel portion --- config.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/config.sh b/config.sh index 94ce181..17cde91 100644 --- a/config.sh +++ b/config.sh @@ -619,18 +619,18 @@ EOF chown -R vagrant:vagrant /home/vagrant/.ssh echo 'vag' > /etc/yum/vars/infra - echo blacklist floppy > /etc/modprobe.d/nofloppy.conf - pushd /etc/dracut.conf.d + #echo blacklist floppy > /etc/modprobe.d/nofloppy.conf + #pushd /etc/dracut.conf.d # Enable VMware PVSCSI support for VMware Fusion guests. - echo 'add_drivers+=" vmw_pvscsi "' > vmware-fusion-drivers.conf - echo 'add_drivers+=" hv_netvsc hv_storvsc hv_utils hv_vmbus hid-hyperv "' > hyperv-drivers.conf + #echo 'add_drivers+=" vmw_pvscsi "' > vmware-fusion-drivers.conf + #echo 'add_drivers+=" hv_netvsc hv_storvsc hv_utils hv_vmbus hid-hyperv "' > hyperv-drivers.conf # There's no floppy controller, but probing for it generates timeouts - echo 'omit_drivers+=" floppy "' > nofloppy.conf - popd - echo "Regenerating kernel" - KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n') - dracut -f /boot/initramfs-${KERNEL_VERSION}.img ${KERNEL_VERSION} - rm -rf /etc/ssh/ssh_host_* + #echo 'omit_drivers+=" floppy "' > nofloppy.conf + #popd + #echo "Regenerating kernel" + #KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n') + #dracut -f /boot/initramfs-${KERNEL_VERSION}.img ${KERNEL_VERSION} + #rm -rf /etc/ssh/ssh_host_* # Might not be needed for 10 ex -s /etc/pam.d/su <<'EOF'