File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
oracle-linux-image-tools/cloud/vagrant-virtualbox/files Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,12 @@ vagrant::config()
44
44
EOF
45
45
fi
46
46
47
+ # For OL9 re-enable SHA1 as the vagrant embedded ssh client insists to use
48
+ # SHA1 for RSA keys -- See hashicorp/vagrant#12344
49
+ if [[ " ${ORACLE_RELEASE} " = " 9" ]]; then
50
+ /bin/update-crypto-policies --set DEFAULT:SHA1
51
+ fi
52
+
47
53
cat >> /etc/sysconfig/sshd << EOF
48
54
49
55
# Decrease connection time by preventing reverse DNS lookups
87
93
chcon -u system_u -r object_r -t modules_conf_t /etc/modprobe.d/nofloppy.conf
88
94
89
95
# Customize the initramfs
90
- # Enable VMware PVSCSI support for VMware Fusion guests.
91
- echo ' add_drivers+=" mptspi "' > /etc/dracut.conf.d/vmware-fusion-drivers.conf
92
- 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
93
101
# There's no floppy controller, but probing for it generates timeouts
94
102
echo ' omit_drivers+=" floppy "' > /etc/dracut.conf.d/nofloppy.conf
95
103
restorecon /etc/dracut.conf.d/nofloppy.conf
You can’t perform that action at this time.
0 commit comments