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

M #-: Correct OpenNebula spelling

This commit is contained in:
Tino Vazquez 2021-05-12 18:37:39 +02:00 committed by Ruben S. Montero
parent 7d457ee26b
commit f45afe4e2e
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 6 additions and 6 deletions

View File

@ -496,9 +496,9 @@ module VCenterDriver
end
#
# Create and allocate a Opennebula Object.
# Create and allocate a OpenNebula Object.
#
# @param info [String] Info passed to opennebula Core.
# @param info [String] Info passed to OpenNebula Core.
#
# @return [&block] the allocated object through a block.
#

View File

@ -2624,15 +2624,15 @@ end
# - The disk is managed by OpenNebula
detachable= !(one_vm['LCM_STATE'].to_i == 11 && !disk.managed?)
detachable &&= disk.exists?
return unless detachable
detach_disk(disk)
# Check if we want to keep the non persistent disk
keep_non_persistent_disks =
VCenterDriver::CONFIG[:keep_non_persistent_disks]
VCenterDriver::CONFIG[:keep_non_persistent_disks]
return if keep_non_persistent_disks == true
disk.destroy
@ -2829,7 +2829,7 @@ end
# Convert VM to template in vCenter
mark_as_template
# Edit the Opennebula template
# Edit the OpenNebula template
one_client = OpenNebula::Client.new
template_id = one_item['TEMPLATE/TEMPLATE_ID']
new_template = OpenNebula::Template.new_with_id(template_id,