mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
feature #206: VM Template needs to be inserted, not inserted_replaced
This commit is contained in:
parent
eb07cd9425
commit
3f9611e0ed
@ -304,7 +304,7 @@ int VirtualMachine::insert(SqlDB * db)
|
||||
// Insert the template first, so we get a valid template ID. Then the VM
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
rc = vm_template.insert_replace(db, false);
|
||||
rc = vm_template.insert(db);
|
||||
|
||||
if ( rc != 0 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user