Skip to content

Commit ac46cef

Browse files
DaanHooglandPearl1594
authored andcommitted
cleanup VM IP after expunge in redundant VPC (apache#10183)
Co-authored-by: Pearl Dsilva <[email protected]>
1 parent c23c135 commit ac46cef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

systemvm/debian/opt/cloud/bin/cs/CsDhcp.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ def configure_server(self):
139139
# Listen Address
140140
if self.cl.is_redundant():
141141
listen_address.append(gateway)
142-
else:
143-
listen_address.append(ip)
142+
listen_address.append(ip)
144143
# Add localized "data-server" records in /etc/hosts for VPC routers
145144
if self.config.is_vpc() or self.config.is_router():
146145
self.add_host(gateway, "%s data-server" % CsHelper.get_hostname())

0 commit comments

Comments
 (0)