dracut fixes
This commit is contained in:
parent
93c7769921
commit
4bf0066808
16
config.sh
16
config.sh
@ -619,18 +619,18 @@ EOF
|
|||||||
chown -R vagrant:vagrant /home/vagrant/.ssh
|
chown -R vagrant:vagrant /home/vagrant/.ssh
|
||||||
|
|
||||||
echo 'vag' > /etc/yum/vars/infra
|
echo 'vag' > /etc/yum/vars/infra
|
||||||
#echo blacklist floppy > /etc/modprobe.d/nofloppy.conf
|
echo blacklist floppy > /etc/modprobe.d/nofloppy.conf
|
||||||
#pushd /etc/dracut.conf.d
|
pushd /etc/dracut.conf.d
|
||||||
# Enable VMware PVSCSI support for VMware Fusion guests.
|
# Enable VMware PVSCSI support for VMware Fusion guests.
|
||||||
#echo 'add_drivers+=" vmw_pvscsi "' > vmware-fusion-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
|
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
|
# There's no floppy controller, but probing for it generates timeouts
|
||||||
#echo 'omit_drivers+=" floppy "' > nofloppy.conf
|
echo 'omit_drivers+=" floppy "' > nofloppy.conf
|
||||||
#popd
|
popd
|
||||||
#echo "Regenerating kernel"
|
#echo "Regenerating kernel"
|
||||||
#KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
#KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
|
||||||
#dracut -f /boot/initramfs-${KERNEL_VERSION}.img ${KERNEL_VERSION}
|
dracut -f -v
|
||||||
#rm -rf /etc/ssh/ssh_host_*
|
rm -rf /etc/ssh/ssh_host_*
|
||||||
|
|
||||||
# Might not be needed for 10
|
# Might not be needed for 10
|
||||||
ex -s /etc/pam.d/su <<'EOF'
|
ex -s /etc/pam.d/su <<'EOF'
|
||||||
|
Loading…
Reference in New Issue
Block a user