Update remaining files for formatting
Change-Id: Ie9fc941bb48edf86b00fc1f2dba0b83b675a5a1c Partial-Bug:#1569417
This commit is contained in:
parent
a861450fd2
commit
fc8d716316
@ -184,10 +184,10 @@ resources:
|
|||||||
systemctl start ntpd
|
systemctl start ntpd
|
||||||
|
|
||||||
# Install mariadb-client
|
# Install mariadb-client
|
||||||
yum install -y mariadb
|
yum -y install mariadb
|
||||||
|
|
||||||
# Install OpenStack Clients
|
# Install OpenStack Clients
|
||||||
yum install -y python-keystoneclient python-glanceclient \
|
yum -y install python-keystoneclient python-glanceclient \
|
||||||
python-novaclient python-cinderclient \
|
python-novaclient python-cinderclient \
|
||||||
python-neutronclient python-heatclient
|
python-neutronclient python-heatclient
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ function _ensure_lsb_release {
|
|||||||
if [[ -x $(which apt-get 2>/dev/null) ]]; then
|
if [[ -x $(which apt-get 2>/dev/null) ]]; then
|
||||||
sudo apt-get install -y lsb-release
|
sudo apt-get install -y lsb-release
|
||||||
elif [[ -x $(which yum 2>/dev/null) ]]; then
|
elif [[ -x $(which yum 2>/dev/null) ]]; then
|
||||||
sudo yum install -y redhat-lsb-core
|
sudo yum -y install redhat-lsb-core
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -65,9 +65,9 @@ function prep_work {
|
|||||||
sed -i -r "s/^(127\.0\.0\.1\s+)(.*) `hostname` (.+)/\1 \3/" /etc/hosts
|
sed -i -r "s/^(127\.0\.0\.1\s+)(.*) `hostname` (.+)/\1 \3/" /etc/hosts
|
||||||
|
|
||||||
if is_centos; then
|
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
|
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
|
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 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:
|
# Also upgrade device-mapper here because of:
|
||||||
# https://github.com/docker/docker/issues/12108
|
# https://github.com/docker/docker/issues/12108
|
||||||
# Upgrade lvm2 to get device-mapper installed
|
# 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
|
# Despite it shipping with /etc/sysconfig/docker, Docker is not configured to
|
||||||
# load it from it's service file.
|
# load it from it's service file.
|
||||||
@ -144,7 +144,7 @@ function configure_kolla {
|
|||||||
# Configure the operator node and install some additional packages.
|
# Configure the operator node and install some additional packages.
|
||||||
function configure_operator {
|
function configure_operator {
|
||||||
if is_centos; then
|
if is_centos; then
|
||||||
yum install -y 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 install -y git mariadb-client selinux-utils
|
||||||
else
|
else
|
||||||
|
@ -156,7 +156,7 @@ following requirements are needed to build the client code:
|
|||||||
apt-get install -y python-dev libffi-dev libssl-dev gcc git
|
apt-get install -y python-dev libffi-dev libssl-dev gcc git
|
||||||
|
|
||||||
# CentOS 7
|
# CentOS 7
|
||||||
yum install -y python-devel libffi-devel openssl-devel gcc git
|
yum -y install python-devel libffi-devel openssl-devel gcc git
|
||||||
|
|
||||||
To install these clients use:
|
To install these clients use:
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ gpgcheck=1
|
|||||||
gpgkey=https://yum.dockerproject.org/gpg
|
gpgkey=https://yum.dockerproject.org/gpg
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sudo yum install -y libffi-devel openssl-devel docker-engine btrfs-progs
|
sudo yum -y install libffi-devel openssl-devel docker-engine btrfs-progs
|
||||||
|
|
||||||
setup_disk
|
setup_disk
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user