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:
parent
89c16b42d9
commit
85781a4f6c
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue