cleanup VM IP after expunge in redundant VPC (#10183)

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
This commit is contained in:
dahn 2025-02-09 09:34:20 +01:00 committed by GitHub
parent 58a63f64fd
commit d453c63848
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -139,7 +139,6 @@ class CsDhcp(CsDataBag):
# Listen Address
if self.cl.is_redundant():
listen_address.append(gateway)
else:
listen_address.append(ip)
# Add localized "data-server" records in /etc/hosts for VPC routers
if self.config.is_vpc() or self.config.is_router():