mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
raising datastore not found error, vCenter driver
This commit is contained in:
1 parent
4d514a0abe
commit
dc4e09d269
1 file changed
+2
@@ -592,6 +592,8 @@ class Template
|
||||
|
||||
if is_disk_or_iso?(device)
|
||||
disk[:device] = device
|
||||
|
||||
raise "not datastore found" unless device.backing.datastore
|
||||
disk[:datastore] = device.backing.datastore
|
||||
disk[:path] = device.backing.fileName
|
||||
disk[:path_wo_ds]= disk[:path].sub(/^\[(.*?)\] /, "")
|
||||
|
||||
Reference in new issue
Block a user