Heat templates for deploying OpenStack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
tripleo-heat-templates/deployed-server/deployed-server-bootstrap-r...

35 lines
1.0 KiB

# DEPRECATED. This script is deprecated in train and will be removed in a
# future release. The functionality of the bootstrap scripts has been moved to
# the tripleo-bootstrap ansible role provided by tripleo-common.
#
#!/bin/bash
set -eux
yum install -y \
jq \
puppet-tripleo\
os-net-config \
openvswitch \
python3-heat-agent* \
lvm2 \
openstack-selinux
ln -s -f /usr/share/openstack-puppet/modules/* /etc/puppet/modules
echo '# empty ruleset created by deployed-server bootstrap' > /etc/sysconfig/iptables
echo '# empty ruleset created by deployed-server bootstrap' > /etc/sysconfig/ip6tables
if [ ! -f /usr/bin/ansible-playbook ]; then
if [ -f /usr/bin/ansible-playbook-3 ]; then
ln -s -f /usr/bin/ansible-playbook-3 /usr/local/bin/ansible-playbook
fi
else
if [ ! -f /usr/bin/ansible-playbook-3 ]; then
ln -s -f /usr/bin/ansible-playbook /usr/local/bin/ansible-playbook-3
fi
fi
# https://launchpad.net/bugs/1823353
systemctl enable network
systemctl start network