diff options
author | Michael Chapman <woppin@gmail.com> | 2017-02-01 01:12:59 +1100 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2017-02-23 20:09:37 +0000 |
commit | 91b4a14e648f642ac8737c6a37777295d43e969c (patch) | |
tree | 62b3b8692d3f5eb3272a7367d94b261328d3ef48 /lib | |
parent | 1ef3c3600d5b1692f65a445cf9e1c2e10a46314e (diff) |
Add ipv6 support to baremetal virthost networks
This won't be used in the vast majority of cases, but where someone
wants to use an ipv6 external network on the undercloud, this will
be needed.
Change-Id: Ibb41e0fee7c112c19446d96eb195c0df552c90d1
Signed-off-by: Michael Chapman <woppin@gmail.com>
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/configure-deps-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/configure-deps-functions.sh b/lib/configure-deps-functions.sh index b9799969..3c82c66a 100755 --- a/lib/configure-deps-functions.sh +++ b/lib/configure-deps-functions.sh @@ -51,7 +51,7 @@ function configure_deps { echo "${blue}INFO: Creating Virsh Network: $network & OVS Bridge: ${NET_MAP[$network]}${reset}" ovs-vsctl list-br | grep "^${NET_MAP[$network]}$" > /dev/null || ovs-vsctl add-br ${NET_MAP[$network]} virsh net-list --all | grep " $network " > /dev/null || (cat > ${libvirt_dir}/apex-virsh-net.xml && virsh net-define ${libvirt_dir}/apex-virsh-net.xml) << EOF -<network> +<network ipv6='yes'> <name>$network</name> <forward mode='bridge'/> <bridge name='${NET_MAP[$network]}'/> |