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

M #-: Correct OpenNebula spelling

(cherry picked from commit 3aa0f02f773ad3a236f35b193fc95a58089d166c)
This commit is contained in:
Tino Vazquez 2021-05-12 18:37:39 +02:00
parent a94abe5eac
commit c2d3f1b987
No known key found for this signature in database
GPG Key ID: 14201E424D02047E
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,