Append ipv6 conf to net config and don't overwrite

We need to append the confs related to IPV6 (if ipv6 is enabled) instead
of overwriting the whole file.

Change-Id: I5e8b486f8e63f53c43a72443cb6404ac8da2e579
This commit is contained in:
Raoul Scarazzini 2017-05-23 06:03:50 -04:00
parent 89c16b42d9
commit 85781a4f6c
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ EOF'
{% if overcloud_ipv6|bool %}
sudo bash -c 'cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-{{ network.device_name }}
sudo bash -c 'cat <<EOF >> /etc/sysconfig/network-scripts/ifcfg-{{ network.device_name }}
IPV6ADDR={{ network.address6 }}
IPV6INIT=yes
EOF'