Official Vagrant images for CentOS Linux 6 and CentOS Linux 7 for x86_64 are now available for download, featuring updated packages to 30 September 2016, as well as the following user-visible changes:
- the centos/7 image now uses the XFS filesystem, which is the default filesystem when installing CentOS Linux 7 from the official DVD images
- fixed issue #73 (VMware Tools installation unable to complete successfully due to a dracut configuration problem)
- The VirtualBox Guest Additions are not preinstalled; if you need them for shared folders, please install the vagrant-vbguest plugin. We recommend using NFS instead of VirtualBox shared folders if possible.
- Since the Guest Additions are missing, our images are preconfigured to use rsync for synced folders. Windows users can either use SMB for synced folders, or disable the sync directory by adding the line
config.vm.synced_folder ".", "/vagrant", disabled: true
to your Vagrantfile.
- Vagrant 1.8.5 is unable to create new Linux boxes due to Vagrant bug #7610. Please upgrade to Vagrant 1.8.6.
- Installing open-vm-tools is not enough for enabling shared folders with Vagrant's VMware provider. Please follow the detailed instructions in https://github.com/mvermaes/centos-vmware-tools.
- [security]: Any new user accounts that you create can gain root privileges via
su - rootor
su - vagrant.
The official images can be downloaded from Hashicorp’s Atlas. We provide images for libvirt-kvm, VirtualBox and VMware.
If you never used our images before:
$ vagrant box add centos/6 # for CentOS Linux 6 $ vagrant box add centos/7 # for CentOS Linux 7
Existing users can upgrade their images:
$ vagrant box update --box centos/6 $ vagrant box update --box centos/7
Verifying the integrity of the images
The SHA256 checksums of the images are signed with the CentOS 7 Official Signing Key. First, download and verify the checksum file:
$ curl http://cloud.centos.org/centos/7/vagrant/x86_64/images/sha256sum.txt.asc -o sha256sum.txt.asc $ gpg --verify sha256sum.txt.asc
If the check passed, you can use the corresponding checksum when downloading the image with Vagrant:
$ vagrant box add --checksum-type sha256 --checksum 3c35dc1945fff00c2dddc40a05d7ccf1026b70cfa31a8ba0cc018c5001b22699 --provider libvirt --box-version 1609.01 centos/7
Unfortunately, this is not possible with
vagrant box update.
If you encounter any unexpected issues with the Vagrant images, feel free to ask on the centos-devel mailing list, or via IRC, in #centos on Freenode.
We would like to thank the following people (in alphabetical order):
- Graham Mainwaring, for helping with tests and validations
- Rafal Skolasinski, for reporting the su issue
- Michael Vermaes, for testing our official images, as well as for writing the detailed guide to using them with VMware Fusion Pro and VMware Workstation Pro.