Fix IP setting.
This commit is contained in:
parent
27f1bece9b
commit
4a92f9fdb0
@ -2667,6 +2667,7 @@ class ElasticAddressBackend(object):
|
||||
eip.eni.public_ip = eip.public_ip
|
||||
if eip.domain == "vpc":
|
||||
eip.association_id = random_eip_association_id()
|
||||
if instance:
|
||||
instance.set_ip(eip.public_ip)
|
||||
|
||||
return eip
|
||||
|
Loading…
Reference in New Issue
Block a user