diff options
| author | Swapnil Kulkarni (coolsvap) <me@coolsvap.net> | 2016-05-17 10:04:59 +0530 |
|---|---|---|
| committer | Swapnil Kulkarni (coolsvap) <me@coolsvap.net> | 2016-05-26 04:09:22 +0000 |
| commit | 435b21b90d97481dacbd387a3c20993ff4e4ab39 (patch) | |
| tree | 21777293b8baa88e9b0701c5931f66b670fd0d6a /dev/vagrant/bootstrap.sh | |
| parent | f93739fa4fbd437236775591bbaa38d8c13d33f6 (diff) | |
| download | kolla-435b21b90d97481dacbd387a3c20993ff4e4ab39.tar.gz kolla-435b21b90d97481dacbd387a3c20993ff4e4ab39.zip | |
Update ubuntu dockerfiles for formatting
Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe
Closes-Bug: #1569417
Diffstat (limited to 'dev/vagrant/bootstrap.sh')
| -rw-r--r-- | dev/vagrant/bootstrap.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh index 7e8a006b0..80ab41cea 100644 --- a/dev/vagrant/bootstrap.sh +++ b/dev/vagrant/bootstrap.sh @@ -31,7 +31,7 @@ function _ensure_lsb_release { fi if [[ -x $(which apt-get 2>/dev/null) ]]; then - apt-get install -y lsb-release + apt-get -y install lsb-release elif [[ -x $(which yum 2>/dev/null) ]]; then yum -y install redhat-lsb-core fi @@ -71,7 +71,7 @@ function prep_work { 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 + apt-get -y install python-mysqldb python-pip python-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt-dev else echo "Unsupported Distro: $DISTRO" 1>&2 exit 1 @@ -118,7 +118,7 @@ EOF apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D echo "deb https://apt.dockerproject.org/repo ubuntu-wily main" > /etc/apt/sources.list.d/docker.list apt-get update - apt-get install -y docker-engine + apt-get -y install docker-engine sed -i -r "s,(ExecStart)=(.+),\1=/usr/bin/docker daemon --insecure-registry ${REGISTRY} --registry-mirror=http://${REGISTRY}|" /lib/systemd/system/docker.service else echo "Unsupported Distro: $DISTRO" 1>&2 @@ -161,7 +161,7 @@ function configure_operator { if is_centos; then yum -y install git mariadb elif is_ubuntu; then - apt-get install -y git mariadb-client selinux-utils + apt-get -y install git mariadb-client selinux-utils else echo "Unsupported Distro: $DISTRO" 1>&2 exit 1 |
