mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Default value for vCenter disk provisioning
This commit is contained in:
1 parent
363304ed66
commit
dc56a1c192
1 file changed
+4
@@ -56,6 +56,10 @@ rescue Exception => e
|
||||
exit -1
|
||||
end
|
||||
|
||||
if disk_type.nil? or disk_type.empty?
|
||||
disk_type = "thin"
|
||||
end
|
||||
|
||||
begin
|
||||
host_id = VCenterDriver::VIClient.translate_hostname(hostname)
|
||||
vi_client = VCenterDriver::VIClient.new host_id
|
||||
|
||||
Reference in new issue
Block a user