mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
bug: Replace any existing VMID variable in VM template
This commit is contained in:
parent
01eaa79dc2
commit
00346f8dc2
@ -209,9 +209,7 @@ int VirtualMachine::insert(SqlDB * db, string& error_str)
|
||||
oss << oid;
|
||||
value = oss.str();
|
||||
|
||||
attr = new SingleAttribute("VMID",value);
|
||||
|
||||
obj_template->set(attr);
|
||||
replace_template_attribute("VMID", value);
|
||||
|
||||
get_template_attribute("NAME",name);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user