So I’m fine remaking my VM from scratch to get this working, basically what I want is OracleLinux 9 with FIPS enabled from my windows 10 host machine.
I can’t figure out how to pass a kernel flag (whether through the Vagrantfile or the command line) during vagrant up
, so what I’ve been doing to, in theory, get my VM working is running vagrant up normally on the base box for OL9, then inside the box (vagrant ssh works fine at this point) I run sudo fips-mode-setup --enable. It recommends against this but ultimately seems to pass but requests a reboot.
After a reboot of the virtual machine I cannot vagrant ssh anymore. VirtualBox claims the box is still running fine.
I found vague reference that there is a way to change my algorithms via the vagrantfile to match FIPS and get in, but I haven’t the slightest clue how to do that. Also, if it’s possible to set up the box to have FIPS enabled on install instead of afterwards, and then ssh in from there using the right algorithms, possibly all as one setup block in the vagrantfile, that’d be great.