1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-02 10:50:07 +03:00

B #1881: Wild VM disks imported as persistent

Now the behaviour is consistent with OpenNebula storage management

(cherry picked from commit a9573b8d66dfbba0ef1393d3d2cb2f856b45314a)
This commit is contained in:
Tino Vazquez 2018-03-21 19:09:54 +01:00
parent 7aa7665dcd
commit d19910f6e9

View File

@ -93,7 +93,7 @@ class Storage
one_image[:template] << "NAME=\"#{image_name}\"\n"
one_image[:template] << "PATH=\"vcenter://#{image_path}\"\n"
one_image[:template] << "TYPE=\"#{image_type}\"\n"
one_image[:template] << "PERSISTENT=\"NO\"\n"
one_image[:template] << "PERSISTENT=\"YES\"\n"
one_image[:template] << "VCENTER_IMPORTED=\"YES\"\n"
one_image[:template] << "DEV_PREFIX=\"#{image_prefix}\"\n"
else
@ -649,4 +649,3 @@ class Datastore < Storage
end # class Datastore
end # module VCenterDriver