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:
parent
a200d830f9
commit
551cd4aacd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user