1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #1591: Remove VLAN_ID from saved_as VM templates

This commit is contained in:
Ruben S. Montero 2017-12-21 10:39:26 +01:00
parent a200d830f9
commit 551cd4aacd

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