I cannot figure out how to get the included files from a packaged stray box.
Package created using
$ vagrant package --include mydirectory/ --output mypackage.box
Then a window is added
$ vagrant box add mypackage.box --name myPackageWithFiles
Then init and vagrant up
$ vagrant init myPackageWithFiles
$ vagrant up
But when I ssh into the newly created stray box, there is no "mydirectory /"
I see this on my local machine:
$ ls ~/.vagrant.d/boxes/myPackageWithFiles/0/virtualbox/include/
mydirectory/
How do I get this directory in my stray field? Should I add something to Vagrantfile?
source
share