solar/bootstrap/build-image.yaml
Bogdan Dobrelya b7433917a4 Fix virtualbox packer, add libvirt packer
* Use Ubuntu 14.04.3 ISO instead ovf box
* Add a libvirt target as well
* Add additional build shell scripts from
  bogdando/packer-atlas-example
* Use sudo for all shell commands
* Fix virtualbox guest additions build order
* Cleanups to reduce end image size
* Update README how to build and up both for vbox/libvirt

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-10-27 12:35:35 +01:00

9 lines
277 B
YAML

---
- hosts: all
sudo: yes
tasks:
#- shell: vagrant init ubuntu/trusty64
- shell: /usr/local/bin/packer build -only=qemu solar-master.json -var 'is_master=true'
- shell: /usr/local/bin/packer build -only=virtualbox-iso solar-master.json -var 'is_master=true'