lib/cloudstack-cli/option_resolver.rb in cloudstack-cli-1.3.0 vs lib/cloudstack-cli/option_resolver.rb in cloudstack-cli-1.3.1
- old
+ new
@@ -5,10 +5,10 @@
resolve_zone
resolve_project
resolve_compute_offering
resolve_template
resolve_disk_offering
- resolve_iso_for_vm_deployment
+ resolve_iso_for_vm_deployment if options[:iso]
options[:size] = options[:disk_size] if options[:disk_size]
unless options[:template_id]
say "Error: Template or ISO is required.", :red
exit 1
end