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
(cherry picked from commit 00346f8dc2145bb1f4e01ae88f662f0624d8b1b8)
This commit is contained in:
parent
f7b7f0cc4a
commit
102089966d
@ -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