tripleo-heat-templates/deployed-server/deployed-server-bootstrap-rhel.sh
Harald Jensas d0a03972a6 Use ipaddress module
This patch replaces use of ipaddr python module with
ipaddress module. The ipaddr has been superseded by the
ipaddress module.

Also install python-ipaddress instead of python-ipaddr in
deployed-server bootstrap scripts.

Closes-Bug: #1751934
Change-Id: I63ae89869c8994e17b3460f9ae94e5fa922f6237
2018-02-27 18:01:21 +01:00

18 lines
419 B
Bash

#!/bin/bash
set -eux
yum install -y \
jq \
python-ipaddress \
puppet-tripleo\
os-net-config \
openvswitch \
python-heat-agent* \
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