mirror of https://github.com/apache/cloudstack.git
bug 13145: re-load the vm data
status 13145: resolved fixed Reviewed-by: anthony
This commit is contained in:
parent
14d02dbcec
commit
0e0e97de10
|
|
@ -1859,9 +1859,9 @@ public class UserVmManagerImpl implements UserVmManager, UserVmService, Manager
|
|||
}
|
||||
|
||||
_vmDao.updateVM(id, displayName, ha, osTypeId, userData);
|
||||
|
||||
UserVmVO newVM = _vmDao.findById(id);;
|
||||
if (updateUserdata) {
|
||||
_networkMgr.updateVmData(vmInstance);
|
||||
_networkMgr.updateVmData(newVM);
|
||||
}
|
||||
return _vmDao.findById(id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue