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

F #4913: Imported images are now NON-PERSISTENT images.

This commit is contained in:
mcabrerizo 2017-04-26 08:09:27 +02:00
parent 3614619305
commit 7f2d0bc05a

View File

@ -585,7 +585,7 @@ class Datastore < Storage
#Set template
one_image = "NAME=\"#{image_name} - #{ds_name}\"\n"
one_image << "PATH=\"vcenter://#{image_path}\"\n"
one_image << "PERSISTENT=\"YES\"\n"
one_image << "PERSISTENT=\"NO\"\n"
one_image << "TYPE=\"#{image_type}\"\n"
one_image << "VCENTER_DISK_TYPE=\"#{disk_type}\"\n" if disk_type
one_image << "VCENTER_IMPORTED=\"YES\"\n"