system/xen: Contrib script bugfix.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
This commit is contained in:
parent
dcc0af4177
commit
91da7544ba
|
@ -25,12 +25,16 @@ if [ -f /etc/xen/openvswitch.conf ]; then
|
||||||
ipv4=${ipv4[$name]}
|
ipv4=${ipv4[$name]}
|
||||||
elif [ ! -z ${ipv4[::default]} ]; then
|
elif [ ! -z ${ipv4[::default]} ]; then
|
||||||
ipv4=${ipv4[::default]}
|
ipv4=${ipv4[::default]}
|
||||||
|
else
|
||||||
|
ipv4=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z ${ipv6[$name]} ]; then
|
if [ ! -z ${ipv6[$name]} ]; then
|
||||||
ipv6=${ipv6[$name]}
|
ipv6=${ipv6[$name]}
|
||||||
elif [ ! -z ${ipv6[::default]} ]; then
|
elif [ ! -z ${ipv6[::default]} ]; then
|
||||||
ipv6=${ipv6[::default]}
|
ipv6=${ipv6[::default]}
|
||||||
|
else
|
||||||
|
ipv6=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Domain can have more then one vif
|
# Domain can have more then one vif
|
||||||
|
|
Loading…
Reference in New Issue