mirror of
https://github.com/apache/cloudstack
synced 2026-09-06 18:19:34 +00:00
private.network.device may change, always try to find out the real private.network.device
This commit is contained in:
parent
394371eba6
commit
154880cebf
@ -950,6 +950,8 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory {
|
||||
|
||||
HashMap<String, Object> params = new HashMap<String, Object>(host.getDetails().size() + 5);
|
||||
params.putAll(host.getDetails());
|
||||
// private.network.device may change when reconnect
|
||||
params.remove("private.network.device");
|
||||
params.put("guid", host.getGuid());
|
||||
params.put("zone", Long.toString(host.getDataCenterId()));
|
||||
if (host.getPodId() != null) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user