mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
raising datastore not found error, vCenter driver
This commit is contained in:
parent
4d514a0abe
commit
dc4e09d269
@ -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(/^\[(.*?)\] /, "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user