mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
cleanup VM IP after expunge in redundant VPC (#10183)
Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
This commit is contained in:
parent
58a63f64fd
commit
d453c63848
@ -139,8 +139,7 @@ class CsDhcp(CsDataBag):
|
||||
# Listen Address
|
||||
if self.cl.is_redundant():
|
||||
listen_address.append(gateway)
|
||||
else:
|
||||
listen_address.append(ip)
|
||||
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():
|
||||
self.add_host(gateway, "%s data-server" % CsHelper.get_hostname())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user