mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6241: Fix default route for IPv6 network when IPv4 not used
(cherry picked from commit e406adc081)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
This commit is contained in:
parent
5973a42691
commit
cd2ba90fae
|
|
@ -184,7 +184,7 @@ then
|
|||
echo "$ipv6 $host" >> $HOSTS
|
||||
fi
|
||||
|
||||
if [ "$dflt" != "" ]
|
||||
if [ "$dflt" != "" -a "$ipv4" != "" ]
|
||||
then
|
||||
#make sure dnsmasq looks into options file
|
||||
sed -i /dhcp-optsfile/d /etc/dnsmasq.conf
|
||||
|
|
|
|||
Loading…
Reference in New Issue