mirror of https://github.com/apache/cloudstack.git
VR CsConfig: reintroduce old get_dns() behaviour for redundant non-VPC's
This commit is contained in:
parent
d14a484374
commit
f379df4bc2
|
|
@ -82,7 +82,10 @@ class CsConfig(object):
|
|||
conf = self.cmdline().idata()
|
||||
dns = []
|
||||
if not self.use_extdns():
|
||||
dns.append(self.address().get_guest_ip())
|
||||
if not self.is_vpc() and self.cl.is_redundant() and self.cl.get_guest_gw():
|
||||
dns.append(self.cl.get_guest_gw())
|
||||
else:
|
||||
dns.append(self.address().get_guest_ip())
|
||||
|
||||
for name in ('dns1', 'dns2'):
|
||||
if name in conf:
|
||||
|
|
|
|||
Loading…
Reference in New Issue