aboutsummaryrefslogtreecommitdiff
path: root/dev/vagrant/bootstrap.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-10-14Move demos and dev directory into a new contrib directoryChristian Berendt1-226/+0
TrivialFix Change-Id: Ifb8f19afa1514488bd288670d08b96f84982a4e1
2016-09-16Update "which" command to "type"caoyuan1-3/+3
Validate a program exist,we should avoid "which" Refer to http://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script/677212#677212 TrivialFix Change-Id: I3d614aef2ac6598a51d830b02795ef186d4fc531
2016-06-23Fix docker daemon proxy support in vagrantPaul Bourke1-2/+1
There was an unwanted line break in the systemd file preventing the proxy from being configured correctly. TrivialFix Change-Id: I3e6413d4f2d373951cb558e0af1b8bc92d4cbb91
2016-06-17Connect to remote hosts as rootMartin André1-0/+1
Since this is the user for which we setup the SSH key. This commit allows to run kolla-ansible as vagrant user without using sudo. This only applies to multinode. TrivialFix Change-Id: Ie5231085a66511a520d4dbe5e9f35414acf1900b
2016-06-17Only keep localhost for 127.0.0.1Martin André1-1/+1
The regex used previously would keep the short hostname (hostname -s) on the 127.0.0.1 line. Reset the 127.0.0.1 line to keep only localhost. TrivialFix Change-Id: I90bdec6793ac5b2d304e178e5114369b7b3b9626
2016-06-17Remove unused SUPPORT_NODE variableMartin André1-2/+0
The SUPPORT_NODE variable was missed during a refactoring of bootstrap.sh and is now unused. Remove it. TrivialFix Change-Id: I10ab4368b383dbb620916f70c368153403944001
2016-06-17Set internal vip to vagrant private networkMartin André1-0/+2
In vagrant environments, the kolla_internal_vip_address didn't belong to the private network provisioned on the machine and was failing the prechecks. TrivialFix Change-Id: I0e7e4d134e350c49ef7510c7262677754a83bcbf
2016-05-26Merge "Update ubuntu dockerfiles for formatting"Jenkins1-4/+4
2016-05-26Merge "Bump the ansible to 2"Jenkins1-1/+1
2016-05-26Update ubuntu dockerfiles for formattingSwapnil Kulkarni (coolsvap)1-4/+4
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug: #1569417
2016-05-24Bump the ansible to 2Jeffrey Zhang1-1/+1
DocImpact Change-Id: I3cdfbf84919de80f535c030bd146787ecda40dec partial-Implements: blueprint ansible2
2016-05-18Improve Vagrants bootstrap.sh proxy supportPaul Bourke1-3/+18
* sudo is not needed as script already runs as root, using sudo would require http_* env vars to be carried through. * Add a systemd unit file to configure docker proxy support * Update /etc/bashrc if available proxy TrivialFix Change-Id: If2571389ec3dc5bce9e819acf962d202b3166b97
2016-04-21Update remaining files for formattingSwapnil Kulkarni (coolsvap)1-5/+5
Change-Id: Ie9fc941bb48edf86b00fc1f2dba0b83b675a5a1c Partial-Bug:#1569417
2016-03-28Use packaged pip instead of easy_installGerard Braad1-2/+1
TrivialFix Change-Id: I1eefec4326f97f466243051bcc33551e0803980d
2016-03-21Add generate_passwords.py to generate passwordsSamYaple1-0/+1
As with all tools, this is a first pass at the generation. Perhaps we even want to move this into kolla/kolla/cmd and be generated with tox itself in the future. This tool, when run, will only populate empty fields that have no values meaning that it is safe to run repeatedly on the same file. Of note, there is no way to preserve comments in the file after it has been processed by the yaml parser in python. Comments and sections will remain in the passwords.yml template for additional documentation if the user wishes to populate the file themselves. Use SystemRandom and clean up the docs a bit to not use pronouns. Co-Authored-By: Steven Dake <stdake@cisco.com> Closes-Bug: #1559266 Change-Id: I2932d592df8871f1b7811059206d0b4d0553a687
2016-03-16Fix genconfig on vagrantMartin André1-1/+1
We run tox at the root of the home directory, so we need to pass it the path to the tox.ini file. TrivialFix Change-Id: Ieb52d845b77f556aee5cd194a8ef86561b7849b2
2016-03-15Unify vagrant bootstrap.sh scriptsDaniel Gonzalez1-0/+211
Merge the vagrant bootstrap scripts for centos and ubuntu into a single file. Change-Id: Ia07931b4717cd393fe51141907fc561166cc05e4 Closes-Bug: 1554140
2016-01-18Rename bootstrap.sh to centos-bootstrap.shMarc Koderer1-150/+0
Since Ubuntu and Centos are both valid options it's better to list their names in both bootstrap files Trivial-fix Change-Id: Ie8179403ba550ff61a45aa936fb87e02b9f74861
2016-01-15Fix centos AiO setupMarc Koderer1-1/+2
LVM2 must be upgraded before device-mapper. Otherwise the setup fails. Change-Id: I97f57c1c8fd50621ad7fa0ddf296cc987c227cd2 Fixes-bug: #1534549
2016-01-07Remove the kolla-build.confJeffrey Zhang1-0/+3
use tox -e genconfig to generate this file DocImpact Closes-Bug: #1531202 Change-Id: I3a6e57c3cc48aeb3a45a055b173207ea6e214960
2016-01-05Be more specific in regex used in sedMartin André1-2/+2
We want to change *only* the desired option. Change-Id: Ic67ba474569f6bf7d74bd710364f26be0f0363eb Close-Bug: #1531046
2016-01-04Merge "Set selinux to permissive in Vagrant"Jenkins1-0/+4
2016-01-04Set selinux to permissive in VagrantMartin André1-0/+4
Selinux is preventing to write on mounted volumes. Let's set it to permissive in Vagrant box provisioning. Change-Id: If8ea57f242166eb6f4ef618639d4ab672e5098d3 Closes-Bug: #1530766
2016-01-04Remove docker version pinning for vagrant envsMartin André1-8/+5
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-11-18Make vagrant bootstrap scripts args more obviousMartin André1-3/+7
Also add missing curly braces around variables. TrivialFix Change-Id: I8798ec52d9ddf76ad1f3debdf087ed4f51defc38
2015-11-02Use default disk image size for centos/7Martin André1-19/+0
Latest centos/7 image from atlas now comes with 40 GB disk size which is equal to the virtual_size we specify in the Vagrantfile. Libvirt provider doesn't like it and produces an ugly stacktrace. The new default value now sufficient run kolla properly and we can remove the code that artificially increased the disk size. Change-Id: I7a645543cfcc027b4a3e0d02d8e7f436d8410ec5 Backport: Liberty Closes-Bug: #1511265
2015-10-15Pin Docker version to 1.8.2Michal Rostecki1-0/+5
Currently Ansible have issues with Docker 1.8.3. We have to pin version to 1.8.2 before including fix [1] in tagged Ansible version. [1] https://github.com/ansible/ansible-modules-core/pull/2258 Change-Id: If802ff118782ec521acfff00e286cde703bf37b3
2015-10-13Merge "Install tox in Vagrant"Jenkins1-1/+1
2015-10-13Install tox in VagrantMichal Rostecki1-1/+1
Change-Id: I374d5f3702c1874b76e582b8585246d670eeb74a Closes-Bug: #1505281
2015-10-13Push images to registry by default in VagrantMichal Rostecki1-0/+1
Change-Id: Ia4520cf85531e2508aba7aec9e078f963943af75 Closes-Bug: #1505497
2015-10-07Move around the development environmentsSteven Dake1-0/+154
THe top level dev directory is now used to store the heat and vagrant development environments. backport: liberty TrivialFix Change-Id: Ib0922b90eacaa8518aee09cdeb46f4ac0437e015