mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
Feature #2828: add SAVED_TO_IMAGE_ID attribute to template
This commit is contained in:
1 parent
06623b61b1
commit
dd88eefd9b
1 file changed
+2
@@ -1395,6 +1395,8 @@ void VirtualMachineSaveDisk::request_execute(xmlrpc_c::paramList const& paramLis
|
||||
tmpl->erase("SAVED_TEMPLATE_ID");
|
||||
tmpl->set(new SingleAttribute("SAVED_TEMPLATE_ID",tmpl_name.str()));
|
||||
|
||||
tmpl->replace("SAVED_TO_IMAGE_ID", iid);
|
||||
|
||||
tmpl->replace_disk_image(iid_orig, iname_orig, iuname_orig, img_name, att.uname);
|
||||
|
||||
//Authorize the template creation operation
|
||||
|
||||
Reference in new issue
Block a user