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:
parent
a54ed786d1
commit
8b0322507f
@ -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
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user