File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
oracle-linux-image-tools/cloud/vagrant-virtualbox/files Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 93
93
chcon -u system_u -r object_r -t modules_conf_t /etc/modprobe.d/nofloppy.conf
94
94
95
95
# Customize the initramfs
96
- # Enable VMware PVSCSI support for VMware Fusion guests.
97
- echo ' add_drivers+=" mptspi "' > /etc/dracut.conf.d/vmware-fusion-drivers.conf
98
- restorecon /etc/dracut.conf.d/vmware-fusion-drivers.conf
96
+ if [[ " ${ORACLE_RELEASE} " != " 9" ]]; then
97
+ # Enable VMware PVSCSI support for VMware Fusion guests.
98
+ echo ' add_drivers+=" mptspi "' > /etc/dracut.conf.d/vmware-fusion-drivers.conf
99
+ restorecon /etc/dracut.conf.d/vmware-fusion-drivers.conf
100
+ fi
99
101
# There's no floppy controller, but probing for it generates timeouts
100
102
echo ' omit_drivers+=" floppy "' > /etc/dracut.conf.d/nofloppy.conf
101
103
restorecon /etc/dracut.conf.d/nofloppy.conf
You can’t perform that action at this time.
0 commit comments