We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e23c7ef commit f5b4060Copy full SHA for f5b4060
systemvm/debian/opt/cloud/bin/cs/CsDhcp.py
@@ -110,7 +110,7 @@ def configure_server(self):
110
if gn.get_dns() and device:
111
sline = "dhcp-option=tag:interface-%s-%s,6" % (device, idx)
112
dns_list = [x for x in gn.get_dns() if x]
113
- if (self.config.is_vpc() or self.config.is_router()) and ('is_vr_guest_gateway' in gn.data and gn.data['is_vr_guest_gateway']):
+ if (self.config.is_vpc() or self.config.is_router()) and not gn.is_vr_guest_gateway():
114
if gateway in dns_list:
115
dns_list.remove(gateway)
116
if gn.data['router_guest_ip'] != ip:
0 commit comments