solar/bootstrap/playbooks/files/ubuntu-ansible.sh
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

12 lines
322 B
Bash

#!/bin/sh
# TODO: maybe this is better:
# http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-apt-ubuntu
sudo apt-get remove -f python-pip
sudo apt-get update
sudo apt-get install -y python-setuptools python-dev autoconf g++
sudo easy_install pip
sudo pip install -U pip
sudo pip install ansible