Wednesday, October 29, 2014

Packaging your Box in Vagrant

  • Set up your virtual machine
    • vagrant up
      
  • List your virtual machines
    • $ VBoxManage list vms
      "tesselact_default_1413389341047_169" {7ca66929-48d7-4e36-9237-011b5113c07b}
      "php-salt-box_default_1414574460667_45040" {a872c748-bf3f-46e1-9cd7-db7b7c1b302d}
      
  • Create the package
    • vagrant package --base php-salt-box_default_1414574460667_45040
      
  • You'll find your packaged box in a package.box file

No comments:

Post a Comment