1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

B #1893: Fixed bug when update hostname (#1894)

This commit is contained in:
juanmont 2018-03-23 15:57:28 +01:00 committed by Tino Vázquez
parent ae033f992d
commit ad21ba15d7

View File

@ -242,7 +242,7 @@ void HostRename::batch_rename(int oid)
if (vm->hasHistory() && vm->get_hid() == oid)
{
vm->set_hostname(host_name);
vmpool->update(vm);
vmpool->update_history(vm);
}
vm->unlock();