mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
Fix segfault when updateconf with FILEDS
This commit is contained in:
1 parent
2e3d577a4e
commit
bdb496d443
1 file changed
+2
@@ -2597,6 +2597,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