mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 19:32:56 +09:00
Fix segfault when updateconf with FILEDS
(cherry picked from commit bdb496d443)
This commit is contained in:
1 parent
4821a36e4c
commit
d5f0951a7b
1 file changed
+2
@@ -2632,6 +2632,8 @@ int VirtualMachine::updateconf(VirtualMachineTemplate& tmpl, string &err)
|
||||
return -1;
|
||||
}
|
||||
|
||||
context_new = obj_template->get("CONTEXT");
|
||||
|
||||
if ( !files_ds.empty() )
|
||||
{
|
||||
context_new->replace("FILES_DS", files_ds);
|
||||
|
||||
Reference in new issue
Block a user