B #1591: Remove VLAN_ID from saved_as VM templates

This commit is contained in:
Ruben S. Montero committed 2017-12-21 10:39:26 +01:00
1 parent a200d830f9
commit 551cd4aacd
1 file changed
+3 -1
+3 -1
View File
@@ -743,7 +743,9 @@ module OpenNebula
#
# @return [Integer, OpenNebula::Error] the new Template ID in case of
# success, error otherwise
REMOVE_VNET_ATTRS = %w{AR_ID BRIDGE CLUSTER_ID IP MAC TARGET NIC_ID NETWORK_ID VN_MAD SECURITY_GROUPS}
REMOVE_VNET_ATTRS = %w{AR_ID BRIDGE CLUSTER_ID IP MAC TARGET NIC_ID
NETWORK_ID VN_MAD SECURITY_GROUPS VLAN_ID}
def save_as_template(name,description, persistent=nil)
img_ids = []
new_tid = nil