-
Notifications
You must be signed in to change notification settings - Fork 19
Move Vagrantfile
into the box
#74
Comments
The biggest issue I see with this is being able to reference the project root dir from the box Vagrantfile. I often use vagrant ID to reference VM's see This could be run inside another project so traversing the current location to find the closest Vagrantfile won't work. |
So the approach I plan to work on will be as such:
The second part is already written, but will likely need some modifications: https://github.com/Realityloop/packer-templates/blob/realityloop/ubuntu-12.04-x86_64/example/Vagrantfile#L7 I have a proof of concept for the first that, that if you put it in your Box Vagrantfile and run
|
Updated PoC:
That works in the project dir, a sub-dir and from anywhere via use of the ID |
Work implemented at: #80 |
#74: Supply a default Vagrantfile with the box.
Done. |
Rather than requiring a custom
Vagrantfile
it would be nice if this was moved into the box so a new project can be initialised by justvagrant init DrupalMel/beetbox; vagrant up
The text was updated successfully, but these errors were encountered: