Created
February 15, 2016 09:06
-
-
Save xpix/45fd220eeea74312ab9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#echo " | |
#deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe multiverse | |
#deb-src mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe multiverse | |
#deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-updates main restricted universe multiverse | |
#deb-src mirror://mirrors.ubuntu.com/mirrors.txt trusty-updates main restricted universe multiverse | |
#deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-backports main restricted universe multiverse | |
#deb-src mirror://mirrors.ubuntu.com/mirrors.txt trusty-backports main restricted universe multiverse | |
#deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-security main restricted universe multiverse | |
#deb-src mirror://mirrors.ubuntu.com/mirrors.txt trusty-security main restricted universe multiverse" > /etc/apt/sources.list | |
cd /home/vagrant/ | |
apt-get update | |
apt-get -y install git python-pip vim libmysqlclient-dev | |
pip install git-review tox flake8 | |
git clone https://github.com/openstack-dev/devstack.git | |
echo " | |
GIT_BASE=http://github.com | |
ADMIN_PASSWORD=ppp | |
MYSQL_PASSWORD=ppp | |
RABBIT_PASSWORD=ppp | |
SERVICE_TOKEN=ppp | |
SERVICE_PASSWORD=ppp | |
# enable_plugin manila https://github.com/openstack/manila.git | |
# enable_service tempest | |
disable_service n-net | |
enable_service q-svc | |
enable_service q-agt | |
enable_service q-dhcp | |
enable_service q-l3 | |
enable_service q-meta | |
enable_service neutron | |
# enable_service manila | |
# enable_service m-api | |
# enable_service m-shr | |
# enable_service m-sch | |
HOST_IP_IFACE=eth1 | |
" > /home/vagrant/devstack/localrc | |
#enable_plugin murano https://github.com/openstack/murano.git | |
#enable_service murano murano-api murano-engine | |
# patch devstack tempest to run with nfs | |
perl -pi -e 's/sudo install -d -o \$STACK_USER \$TEMPEST_CONFIG_DIR/sudo install -d \$TEMPEST_CONFIG_DIR/' /home/vagrant/devstack/lib/tempest | |
#mkdir /opt/stack | |
#ln -s /git/tempest /opt/stack/tempest | |
#ln -s /git/manila /opt/stack/manila | |
#chown vagrant:vagrant /opt/stack | |
chown -R vagrant:vagrant devstack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment