Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.3 KB

VAGRANT.md

File metadata and controls

27 lines (21 loc) · 1.3 KB

Vagrant Specific

The following have been added to the image (in addition to those listed in README.md):

To build a VirtualBox Vagrant box:

  1. rm -f /tmp/packer-centos-7.3.1611-x86_64-updates-vagrant-vbox-*
  2. packer build --only=vbox4vagrant centos-7.3.1611-x86_64-updates.json
  3. vagrant box add --force packer-centos-7.3.1611-x86_64-updates-vagrant-vbox /tmp/packer-centos-7.3.1611-x86_64-updates-vagrant-vbox-*.box
  4. vagrant up
  5. Smoke test (e.g., vagrant ssh and look around)

To build a VMware Vagrant box:

  1. rm -f /tmp/packer-centos-7.3.1611-x86_64-updates-vagrant-vmware-*
  2. packer build --only=vmware4vagrant centos-7.3.1611-x86_64-updates.json
  3. vagrant box add --force packer-centos-7.3.1611-x86_64-updates-vagrant-vmware /tmp/packer-centos-7.3.1611-x86_64-updates-vagrant-vmware-*.box
  4. Get Vagrant/VMware license (https://www.vagrantup.com/vmware)
  5. vagrant up
  6. Smoke test (e.g., vagrant ssh and look around)