How to use this box with Vagrant:
Vagrant.configure("2") do |config| config.vm.box = "openlogic/centos-7-hardened" config.vm.box_version = "7.9.20211220" end
vagrant init openlogic/centos-7-hardened \ --box-version 7.9.20211220 vagrant up
This version was created about 1 year ago.
The images presented here are essentially the same as the plain openlogic/centos-7 boxes, except these have been security hardened to comply with the PCI-DSS and Standard System Security Profile for Red Hat Enterprise Linux 7 profiles.
The VirtualBox provider can use the instructions above, but the other providers require you do download the boxes locally before running Vagrant up:
You can install the boxes via the Vagrant Cloud method, download the metadata json file or provide the full URLs to the box files.
Vagrant Cloud method
vagrant box add openlogic/centos-7-hardened
metadata json and full URL methods:
These are discussed in our deployment guide.
For more information, including per-provider configuration info, support instructions, etc, please read our deployment guide