Skip to content
Browse files

2.0 upload-template fixes

  • Loading branch information...
1 parent e0cef48 commit 2d6b9cb5f98f09a3022945ac9f76e31b80a5aa24 @abelboldu abelboldu committed Apr 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/abicli/commands/upload-template.rb
View
4 lib/abicli/commands/upload-template.rb
@@ -281,14 +281,14 @@ class MyCLI
json.gsub!("'",'"')
$stdout.sync = true
line_reset = "\r\e[0K"
- rsurl = "#{cli.config[:rs_url]}/am/erepos/#{cli.config[:enterprise_id]}/ovfs"
+ rsurl = "#{cli.config[:rs_url]}/am/erepos/#{cli.config[:enterprise_id]}/templates"
if cli.config[:debug]
puts "Upload URL: #{rsurl}"
puts "JSON sent:\n#{json}"
end
StreamingUploader.post(
rsurl,
- { :ovfpackageinstance => json, :diskFile => fo }
+ { :aovfpackageinstance => json, :diskFile => fo }
) do |size|
count += size
per = (100*count)/fsize

0 comments on commit 2d6b9cb

Please sign in to comment.
Something went wrong with that request. Please try again.