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 fi
if [[ -x $(which apt-get 2>/dev/null) ]]; then 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 elif [[ -x $(which yum 2>/dev/null) ]]; then
yum -y install redhat-lsb-core yum -y install redhat-lsb-core
fi 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 yum -y install MySQL-python vim-enhanced python-pip python-devel gcc openssl-devel libffi-devel libxml2-devel libxslt-devel
elif is_ubuntu; then elif is_ubuntu; then
apt-get update 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 else
echo "Unsupported Distro: $DISTRO" 1>&2 echo "Unsupported Distro: $DISTRO" 1>&2
exit 1 exit 1
@ -118,7 +118,7 @@ EOF
apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D 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 echo "deb https://apt.dockerproject.org/repo ubuntu-wily main" > /etc/apt/sources.list.d/docker.list
apt-get update 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 sed -i -r "s,(ExecStart)=(.+),\1=/usr/bin/docker daemon --insecure-registry ${REGISTRY} --registry-mirror=http://${REGISTRY}|" /lib/systemd/system/docker.service
else else
echo "Unsupported Distro: $DISTRO" 1>&2 echo "Unsupported Distro: $DISTRO" 1>&2
@ -161,7 +161,7 @@ function configure_operator {
if is_centos; then if is_centos; then
yum -y install git mariadb yum -y install git mariadb
elif is_ubuntu; then elif is_ubuntu; then
apt-get install -y git mariadb-client selinux-utils apt-get -y install git mariadb-client selinux-utils
else else
echo "Unsupported Distro: $DISTRO" 1>&2 echo "Unsupported Distro: $DISTRO" 1>&2
exit 1 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:: 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 **Note:** Many distros ship outdated versions of Vagrant by default. When in
doubt, always install the latest from the downloads page above. 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'] %} {% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
aodh-api \ aodh-api \
&& apt-get clean && apt-get clean

View File

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

View File

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

View File

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

View File

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

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
aodh-notifier \ aodh-notifier \
&& apt-get clean && 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 update \
&& apt-get upgrade -y \ && apt-get upgrade -y \
&& apt-get dist-upgrade -y \ && apt-get dist-upgrade -y \
&& apt-get install -y --no-install-recommends \ && apt-get -y install --no-install-recommends \
ca-certificates \ ca-certificates \
python \ python \
curl \ curl \

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %} {% if install_type == 'binary' %}
{% if base_distro in ['ubuntu'] %} {% if base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
cinder-scheduler \ cinder-scheduler \
&& apt-get clean && 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'] %} {% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
tgt \ tgt \
&& apt-get clean && apt-get clean

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -11,7 +11,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
designate-sink \ designate-sink \
designateclient \ designateclient \
&& apt-get clean && 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 \ 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-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D \
&& apt-get update \ && apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get -y install --no-install-recommends \
btrfs-tools \ btrfs-tools \
docker-engine=1.8.2-0~trusty \ docker-engine=1.8.2-0~trusty \
openssh-server \ openssh-server \

View File

@ -14,7 +14,7 @@ RUN yum -y install \
ENV JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk-amd64/ 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 \ openjdk-7-jre \
elasticsearch \ elasticsearch \
&& apt-get clean && apt-get clean

View File

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

View File

@ -12,7 +12,7 @@ RUN yum -y install \
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['ubuntu', 'debian'] %} {% 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 && apt-get clean
{% endif %} {% endif %}

View File

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

View File

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

View File

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

View File

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

View File

@ -14,7 +14,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
heat-engine \ heat-engine \
&& apt-get clean && 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'] %} {% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
openstack-dashboard \ openstack-dashboard \
apache2 \ apache2 \
libapache2-mod-wsgi \ libapache2-mod-wsgi \
@ -54,7 +54,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %} {% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
apache2 \ apache2 \
libapache2-mod-wsgi \ libapache2-mod-wsgi \
&& echo > /etc/apache2/ports.conf \ && echo > /etc/apache2/ports.conf \

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -19,7 +19,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %} {% 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 \ mariadb-galera-server \
percona-xtrabackup \ percona-xtrabackup \
socat \ socat \

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -9,7 +9,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %} {% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
openssh-server \ openssh-server \
&& apt-get clean \ && apt-get clean \
&& mkdir -p /var/run/sshd \ && 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 # This will prevent questions from being asked during the install
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
# There is no python-tuskarclient in ubuntu 14.04 # 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-barbicanclient \
python-ceilometerclient \ python-ceilometerclient \
python-congressclient \ python-congressclient \
@ -204,7 +204,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu', 'debian'] %} {% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
ca-certificates \ ca-certificates \
build-essential \ build-essential \
python-dev \ python-dev \

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
tempest \ tempest \
&& apt-get clean && 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'] %} {% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
tgt \ tgt \
&& apt-get clean && apt-get clean

View File

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

View File

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

View File

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

View File

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

View File

@ -10,7 +10,7 @@ RUN yum -y install \
{% elif base_distro in ['ubuntu'] %} {% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get -y install --no-install-recommends \
trove-taskmanager \ trove-taskmanager \
&& apt-get clean && 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 echo 'deb http://apt.dockerproject.org/repo ubuntu-trusty main' | sudo tee /etc/apt/sources.list.d/docker.list
add_key add_key
sudo apt-get update 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 sudo service docker stop
setup_disk setup_disk