aboutsummaryrefslogtreecommitdiff
path: root/dev/vagrant/bootstrap.sh
diff options
context:
space:
mode:
authorSwapnil Kulkarni (coolsvap) <me@coolsvap.net>2016-04-21 17:22:30 +0530
committerSwapnil Kulkarni (coolsvap) <me@coolsvap.net>2016-04-21 12:03:42 +0000
commitfc8d71631644861a61481948ef0e1cdfe951bcb3 (patch)
tree52327a0e88c65b0e0e2670054c05f96bf3a2aad9 /dev/vagrant/bootstrap.sh
parenta861450fd29d7a2ea56eb755473da171443b38f6 (diff)
downloadkolla-fc8d71631644861a61481948ef0e1cdfe951bcb3.tar.gz
kolla-fc8d71631644861a61481948ef0e1cdfe951bcb3.zip
Update remaining files for formatting
Change-Id: Ie9fc941bb48edf86b00fc1f2dba0b83b675a5a1c Partial-Bug:#1569417
Diffstat (limited to 'dev/vagrant/bootstrap.sh')
-rw-r--r--dev/vagrant/bootstrap.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh
index e7a50e09d..ace58ecba 100644
--- a/dev/vagrant/bootstrap.sh
+++ b/dev/vagrant/bootstrap.sh
@@ -32,7 +32,7 @@ function _ensure_lsb_release {
if [[ -x $(which apt-get 2>/dev/null) ]]; then
sudo apt-get install -y lsb-release
elif [[ -x $(which yum 2>/dev/null) ]]; then
- sudo yum install -y redhat-lsb-core
+ sudo yum -y install redhat-lsb-core
fi
}
@@ -65,9 +65,9 @@ function prep_work {
sed -i -r "s/^(127\.0\.0\.1\s+)(.*) `hostname` (.+)/\1 \3/" /etc/hosts
if is_centos; then
- yum install -y epel-release
+ yum -y install epel-release
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
- yum install -y MySQL-python vim-enhanced python-pip python-devel gcc openssl-devel libffi-devel libxml2-devel libxslt-devel
+ yum -y install MySQL-python vim-enhanced python-pip python-devel gcc openssl-devel libffi-devel libxml2-devel libxslt-devel
elif is_ubuntu; then
apt-get update
apt-get install -y python-mysqldb python-pip python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt-dev
@@ -105,7 +105,7 @@ EOF
# Also upgrade device-mapper here because of:
# https://github.com/docker/docker/issues/12108
# Upgrade lvm2 to get device-mapper installed
- yum install -y docker-engine lvm2 device-mapper
+ yum -y install docker-engine lvm2 device-mapper
# Despite it shipping with /etc/sysconfig/docker, Docker is not configured to
# load it from it's service file.
@@ -144,7 +144,7 @@ function configure_kolla {
# Configure the operator node and install some additional packages.
function configure_operator {
if is_centos; then
- yum install -y git mariadb
+ yum -y install git mariadb
elif is_ubuntu; then
apt-get install -y git mariadb-client selinux-utils
else