mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Remove TEMPLATE_NAME from VM template (prevents inconsistent name references because of renaming the original template)
This commit is contained in:
1 parent
741d443a46
commit
ab5b34464c
1 file changed
-4
@@ -281,10 +281,6 @@ int VirtualMachine::insert(SqlDB * db, string& error_str)
|
||||
{
|
||||
prefix = "one";
|
||||
}
|
||||
else
|
||||
{
|
||||
obj_template->add("TEMPLATE_NAME", prefix);
|
||||
}
|
||||
|
||||
if (name.empty() == true)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user