Bonus package of a new package (from the standard)

I have a standard Vagrant exact64 box. I want to add some packages, for example git and subversion, and then repack the box. How can I use the package command to create a new window?

I know that a package is a plugin in v2. This document was deleted in version 2, and I'm not sure how it applies http://docs-v1.vagrantup.com/v1/docs/base_boxes.html

If I try in my directory containing a vagrant machine and a Vagrant file, I get:

$ vagrant package boxname --output test.box --vagrantfile Vagrantfile
The machine with the name 'boxname' was not found configured for
this Vagrant environment.

Edit: Next work

$ vagrant package --output vagrant_example.box

Which leaves me with the following questions. What is the field for? What does the base team do? Thanks.

+4
source share
1 answer

( Veewee). AFAIR, 1.0.x.

, , . , _ (-base NAME) - VirtualBox, VBoxManage list vms.

vagrant package --output vagrant_example.box , ( , Vagrantfile).

. http://docs.vagrantup.com/v2/cli/package.html

--base NAME - , VirtualBox, Vagrant, , VirtualBox. UUID VirtualBox.

+10

All Articles