mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
Development: Remove VLAN_ID from template to prevent manual edits when
set automatic
This commit is contained in:
parent
e98b13ba50
commit
1c4d9e3c89
@ -292,6 +292,10 @@ int VirtualNetwork::post_update_template(string& error)
|
||||
erase_template_attribute("VLAN_ID", vlan_id);
|
||||
add_template_attribute("VLAN_ID", vlan_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
remove_template_attribute("VLAN_ID");
|
||||
}
|
||||
|
||||
erase_template_attribute("BRIDGE",new_bridge);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user