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

F #~: fix memory_dumps configuration (#1027)

Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
This commit is contained in:
Carlos J. Herrera 2021-03-25 09:20:40 -04:00 committed by GitHub
parent c23c0ee26b
commit a37ab86047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3032,7 +3032,7 @@ module VCenterDriver
# Create a snapshot for the VM
def create_snapshot(snap_id, snap_name)
memory_dumps = true
memory_dumps = CONFIG[:memory_dumps] if CONFIG[:memory_dumps]
memory_dumps = CONFIG[:memory_dumps] unless CONFIG[:memory_dumps].nil?
snapshot_hash = {
:name => snap_id,