Creating a Virtualbox (5.0.24 r108355) .box with Packer (0.10.0) for use in Vagrant (1.8.4).
The .box is stored on my local file system.
I cannot figure out how to version the .box when it's added to Vagrant. Below real-time/xenial64 is the box.
$ vagrant box list
opensuse/openSUSE-42.1-x86_64 (virtualbox, 1.0.0)
real-time/xenial64 (virtualbox, 0)
ubuntu/precise64 (virtualbox, 20160627.0.0)
ubuntu/trusty64 (virtualbox, 20160627.0.0)
ubuntu/trusty64 (virtualbox, 20160708.1.0)
Now the .box file itself is versioned
packer.git/build/virtualbox/base-xenial64-20160712.0.0.box
And the ubuntu boxes I'm getting from atlas (online) and they are versioned.
I'm guessing "post-processors" of "type": "vagrant" cannot be versioned? At least when I try the "version": I cannot validate.
$ packer validate ubuntu/xenial/base-xenial64.json
Template validation failed. Errors are shown below.
Errors validating build 'virtualbox'. 1 error(s) occurred:
* unknown configuration key: "version"
Any help on how to version a Virtualbox gotten from a local file system for use in Vagrant would be helpful.
Thanks.
Virtualbox-5.0.24 r108355
Packer-0.10.0
Vagrant-1.8.4