Update ubuntu dockerfiles for formatting

Change-Id: If4be00b937e14ec93443dcb7249cf17099d57cbe
Closes-Bug: #1569417
This commit is contained in:
Swapnil Kulkarni (coolsvap) 2016-05-17 10:04:59 +05:30
parent f93739fa4f
commit 435b21b90d
92 changed files with 108 additions and 108 deletions

View File

@ -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

View File

@ -45,7 +45,7 @@ On Fedora 22 it is as easy as::
On Ubuntu 14.04 it is as easy as::
sudo apt-get install vagrant ruby-dev ruby-libvirt python-libvirt libvirt-dev nfs-kernel-server
sudo apt-get -y install vagrant ruby-dev ruby-libvirt python-libvirt libvirt-dev nfs-kernel-server
**Note:** Many distros ship outdated versions of Vagrant by default. When in
doubt, always install the latest from the downloads page above.

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
aodh-api \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
aodh-common \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
aodh-evaluator \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
aodh-expirer \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
aodh-listener \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
aodh-notifier \
&& apt-get clean

View File

@ -197,7 +197,7 @@ RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 199369E540
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends \
&& apt-get -y install --no-install-recommends \
ca-certificates \
python \
curl \

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ceilometer-api \
&& apt-get clean

View File

@ -12,7 +12,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ceilometer-common \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ceilometer-agent-central \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ceilometer-collector \
&& apt-get clean

View File

@ -11,7 +11,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ceilometer-agent-compute \
python-ceilometerclient \
&& apt-get clean
@ -26,7 +26,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
libvirt-dev \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ceilometer-agent-notification \
&& apt-get clean

View File

@ -13,7 +13,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ceph \
radosgw \
parted \

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
cinder-api \
&& apt-get clean

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
cinder-backup \
&& apt-get clean

View File

@ -14,7 +14,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
cinder-common \
ceph-common \
lvm2 \
@ -33,7 +33,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
lvm2 \
qemu-utils \
ceph-common \

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
rpcbind \
&& apt-get clean

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
cinder-scheduler \
&& apt-get clean

View File

@ -11,7 +11,7 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/tgtd.conf
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
tgt \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
cron \
logrotate \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
designate-api \
&& apt-get clean

View File

@ -12,7 +12,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
bind9 \
&& apt-get clean

View File

@ -19,7 +19,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
designate-common \
python-tooz \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu']%}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
designate-central \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
designate-mdns \
&& apt-get clean

View File

@ -12,7 +12,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
bind9 \
designate-pool-manager \
&& apt-get clean

View File

@ -11,7 +11,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
designate-sink \
designateclient \
&& apt-get clean

View File

@ -13,7 +13,7 @@ RUN /bin/true
RUN echo 'deb http://apt.dockerproject.org/repo ubuntu-trusty main' > /etc/apt/sources.list.d/docker.list \
&& apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
&& apt-get -y install --no-install-recommends \
btrfs-tools \
docker-engine=1.8.2-0~trusty \
openssh-server \

View File

@ -14,7 +14,7 @@ RUN yum -y install \
ENV JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk-amd64/
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
openjdk-7-jre \
elasticsearch \
&& apt-get clean

View File

@ -13,7 +13,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
glance \
python-rbd \
python-rados \
@ -32,7 +32,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
python-rbd \
python-rados \
&& apt-get clean \

View File

@ -12,7 +12,7 @@ RUN yum -y install \
{% elif install_type == 'source' %}
{% if base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends libpq-dev \
RUN apt-get -y install --no-install-recommends libpq-dev \
&& apt-get clean
{% endif %}

View File

@ -9,7 +9,7 @@ RUN yum -y install \
{% elif base_distro in ['debian', 'ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
haproxy \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
heat-api-cfn \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
heat-api \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
heat-common \
&& apt-get clean

View File

@ -14,7 +14,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
heat-engine \
&& apt-get clean

View File

@ -22,7 +22,7 @@ RUN sed -i "s|WEBROOT = '/dashboard/'|WEBROOT = '/'|" /etc/openstack-dashboard/l
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
openstack-dashboard \
apache2 \
libapache2-mod-wsgi \
@ -54,7 +54,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
apache2 \
libapache2-mod-wsgi \
&& echo > /etc/apache2/ports.conf \

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ironic-api \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ironic-common \
&& apt-get clean

View File

@ -11,7 +11,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ironic-conductor \
qemu-utils \
ipmitool \
@ -28,7 +28,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
qemu-utils \
ipmitool \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
tftpd-hpa \
syslinux-common \
syslinux \

View File

@ -11,7 +11,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
open-iscsi \
targetcli \
python-rtslib \

View File

@ -11,7 +11,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
keepalived \
socat \
&& apt-get clean

View File

@ -17,7 +17,7 @@ RUN mkdir -p /var/www/cgi-bin/keystone \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
keystone \
apache2 \
libapache2-mod-wsgi \
@ -40,7 +40,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
apache2 \
libapache2-mod-wsgi \
&& echo > /etc/apache2/ports.conf \

View File

@ -12,7 +12,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
kibana \
&& apt-get clean

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
manila-api \
&& apt-get clean

View File

@ -11,7 +11,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
manila-common \
openvswitch-switch \
&& apt-get clean
@ -26,7 +26,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
openvswitch-switch \
&& apt-get clean

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
manila-scheduler \
&& apt-get clean

View File

@ -19,7 +19,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
mariadb-galera-server \
percona-xtrabackup \
socat \

View File

@ -12,7 +12,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
{% set user = 'memcache' %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
memcached \
&& apt-get clean \
&& usermod -a -G kolla {{ user }}

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
mongodb-server \
&& apt-get clean

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
murano-api \
&& apt-get clean

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
murano-common \
&& apt-get clean

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
murano-engine \
&& apt-get clean

View File

@ -12,7 +12,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
neutron-plugin-ml2 \
neutron-server \
openvswitch-switch \
@ -35,7 +35,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
arping \
conntrack \
dnsmasq \

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['ubuntu', 'debian'] %}
{% if install_type == 'binary' %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
neutron-dhcp-agent \
&& apt-get clean

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['ubuntu', 'debian'] %}
{% if install_type == 'binary' %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
neutron-l3-agent \
&& apt-get clean

View File

@ -12,7 +12,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ebtables \
neutron-plugin-linuxbridge-agent \
&& apt-get clean
@ -28,7 +28,7 @@ RUN yum -y install \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y \
RUN apt-get -y install \
ebtables \
bridge-utils \
&& apt-get clean

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['ubuntu', 'debian'] %}
{% if install_type == 'binary' %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
neutron-metadata-agent \
&& apt-get clean

View File

@ -12,7 +12,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
openvswitch-switch \
neutron-plugin-openvswitch-agent \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
nova-api \
python-memcache \
&& apt-get clean

View File

@ -14,7 +14,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
nova-common \
python-nova \
bridge-utils \
@ -32,7 +32,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
iptables \
ebtables \
dnsmasq \

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
nova-compute \
&& apt-get clean

View File

@ -18,7 +18,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
# ironic as workaround https://bugs.launchpad.net/packstack/+bug/1430388
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
nova-compute \
openvswitch-switch \
sysfsutils \
@ -50,7 +50,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
libvirt-dev \
qemu-utils \
ceph-common \

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
nova-conductor \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
nova-consoleauth \
python-memcache \
&& apt-get clean

View File

@ -17,7 +17,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ceph-common \
libvirt-bin \
dmidecode \

View File

@ -12,7 +12,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
nova-network \
&& apt-get clean

View File

@ -11,7 +11,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
nova-novncproxy \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
nova-scheduler \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
nova-spiceproxy \
&& apt-get clean

View File

@ -9,7 +9,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
openssh-server \
&& apt-get clean \
&& mkdir -p /var/run/sshd \

View File

@ -158,7 +158,7 @@ RUN yum -y install \
# This will prevent questions from being asked during the install
ENV DEBIAN_FRONTEND noninteractive
# There is no python-tuskarclient in ubuntu 14.04
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
python-barbicanclient \
python-ceilometerclient \
python-congressclient \
@ -204,7 +204,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
ca-certificates \
build-essential \
python-dev \

View File

@ -9,7 +9,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
openvswitch-switch \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
rabbitmq-server \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
swift-account \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
swift \
&& apt-get clean
@ -24,7 +24,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
liberasurecode-dev \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
swift-container \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
swift-object \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
swift-proxy \
&& apt-get clean

View File

@ -9,7 +9,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
rsync \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
tempest \
&& apt-get clean

View File

@ -11,7 +11,7 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/tgtd.conf
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
tgt \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
trove-api \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
trove-common \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
trove-conductor \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
trove-guestagent \
&& apt-get clean

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
RUN apt-get -y install --no-install-recommends \
trove-taskmanager \
&& apt-get clean

View File

@ -51,7 +51,7 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
echo 'deb http://apt.dockerproject.org/repo ubuntu-trusty main' | sudo tee /etc/apt/sources.list.d/docker.list
add_key
sudo apt-get update
sudo apt-get install -y --no-install-recommends docker-engine btrfs-tools
sudo apt-get -y install --no-install-recommends docker-engine btrfs-tools
sudo service docker stop
setup_disk