Default value for vCenter disk provisioning

This commit is contained in:
Tino Vazquez committed 2016-05-06 16:39:50 +02:00
1 parent 363304ed66
commit dc56a1c192
1 file changed
+4
+4
View File
@@ -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