solar/bootstrap
Przemyslaw Kaminski beb6b8536f Bootstrap resource added
- added example-bootstrap.py
- moved ansible tasks to separate dir
2015-08-07 09:10:39 +02:00
..
playbooks Bootstrap resource added 2015-08-07 09:10:39 +02:00
build-image.yml Solar bootstarpping playbooks & packer.io guide 2015-08-06 10:57:48 +02:00
packer.yml Solar bootstarpping playbooks & packer.io guide 2015-08-06 10:57:48 +02:00
README.md Moved pre-install stuff (ansible, pip) to separate script 2015-08-06 13:09:47 +02:00
solar-master.json Moved pre-install stuff (ansible, pip) to separate script 2015-08-06 13:09:47 +02:00

Solar image building

In bootstrap/trusty64 directory there are box.ovf and box-disk1.vmdk files from the trusty64 Vagrant box (normally found in ~/.vagrant.d/boxes/trusty64/0/virtualbox).

To build, install Packer (https://www.packer.io/):

cd bootstrap
packer build solar-master.json
cp solar-master.box ../
cd ..
vagrant up

If Vagrant throws error about vboxsf try this:

vagrant plugin install vagrant-vbguest

(see https://github.com/shiguredo/packer-templates/issues/16).

If you're rebuilding the same box, make sure Vagrant reimports it:

vagrant box remove solar-master