aboutsummaryrefslogtreecommitdiff
path: root/dev/vagrant/ubuntu-bootstrap.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-03-15Unify vagrant bootstrap.sh scriptsDaniel Gonzalez1-134/+0
Merge the vagrant bootstrap scripts for centos and ubuntu into a single file. Change-Id: Ia07931b4717cd393fe51141907fc561166cc05e4 Closes-Bug: 1554140
2016-03-11Stop shipping broken openrc in vagrantMartin André1-11/+0
Instead, rely on kolla-ansible post-deploy to generate a configuration file with valid environment variables. Change-Id: Ie62932afc96e2486410a1d4e14162a88b1733c22 Closes-Bug: #1555972
2016-02-24Fix a typo in the vagrant bootstrap scriptsSam Song1-1/+1
Change-Id: I90e053a8c5810dec69bd5087ddd8e31c037e6a41
2016-02-23Fix vagrant bootstrapping for ubuntuDaniel Gonzalez1-48/+102
The ubuntu-bootstrap.sh script used by vagrant to provision ubuntu boxes was lacking many of the features of centos-bootstrap.sh. For instance, ubuntu-bootstrap.sh did not install kolla, so the kolla-build executable was not available after initial provisioning. This patch adapts the bootstrap script to match the centos bootstrap script as closely as possible. Change-Id: I6cdacb993a9b6856912ea7cfb73a28f3867f472a Closes-Bug: #1547114
2016-02-04Update kernel version in ubuntu-bootstrap.shMD NADEEM1-2/+2
Ubuntu-bootstrap.sh script rebooted my server with message of re-run the script and at re-run it again do the same thing. I find this behavior is due to the below check if [[ $(uname -r) != *"3.19"* ]] As latest ubuntu kernel version is 4.2.0-27-generic, so we should update the script for kernel version 4.2.0-27-generic. This patch fixes the issue. Closes-Bug: #1541797 Change-Id: I01e98d80df60fe8c5f6ac6e644d42261fdd2921c
2016-01-04Remove docker version pinning for vagrant envsMartin André1-1/+1
Kolla now has its own docker ansible module which doesn't require specific docker version. Also, add requirement for ansible <2, and stop using NL mirror for epel. Change-Id: I743c51c2d6b7f6af0aa4038e1081066b36e36fa1 Partially-Implements: blueprint kolla-docker-module
2015-12-07Update Vagrant's Ubuntu box provisioning scriptDiogo Monteiro1-3/+8
Starting from Vivid Ubuntu uses systemd as the default boot manager instead of upstart. Updating the way the docker daemon is configured to follow the systemd way. Setting env variable GUNICORN_OPTS=[--preload] to fix race condition and avoid IntegrityError when pushing images to local registry Change-Id: I841f85015c2c3683ef7e1e454ec1369263063c45 Related-bug: https://github.com/docker/docker-registry/issues/518 Closes-Bug: #1523336
2015-11-18Make vagrant bootstrap scripts args more obviousMartin André1-6/+9
Also add missing curly braces around variables. TrivialFix Change-Id: I8798ec52d9ddf76ad1f3debdf087ed4f51defc38
2015-11-12Get kolla path from settings when provisioning boxDiogo Monteiro1-1/+2
The path for the kolla source dir was being hardcoded on the ubuntu-bootstrap provision script instead of utilizing the path defined in the PROVIDER_DEFAULTS settings in the Vagrantfile Change-Id: I0eb752ecf4db580838687c290ccf36810e8a4ff3
2015-11-11Added Ubuntu support for VagrantDiogo Monteiro1-0/+82
Added support for Vagrant VirtualBox provider to provision an Ubuntu VM to run kolla. A new bootstrap-ubuntu.sh script has been created which provisions the Ubuntu VM with all kolla depdencies including docker 1.8.2, ansible 1.9.6 and python-tools Also created vars in the Vagrantfile to define the cpu and memory settings of the VM nodes used to run kolla DocImpact Change-Id: I4609d7f577e948b04663901afd0c5d1d154c8ac4 Implements: blueprint vagrant-ubuntu-support