1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-28 17:57:22 +03:00

F #4913: Deprecate Keep Disks on done (oca)

This commit is contained in:
mcabrerizo 2017-03-30 12:21:57 +02:00
parent a54ed786d1
commit 8b0322507f

View File

@ -744,13 +744,6 @@ module OpenNebula
self['DEPLOY_ID']
end
# Returns the deploy_id of the VirtualMachine (numeric value)
def keep_disks?
!self['USER_TEMPLATE/KEEP_DISKS_ON_DONE'].nil? &&
self['USER_TEMPLATE/KEEP_DISKS_ON_DONE'].downcase=="yes"
end
# Clones the VM's source Template, replacing the disks with live snapshots
# of the current disks. The VM capacity and NICs are also preserved
#