lib/veewee/provider/core/box/wincp.rb in veewee-0.4.3 vs lib/veewee/provider/core/box/wincp.rb in veewee-0.4.4
- old
+ new
@@ -30,14 +30,13 @@
allow_for_http_request(
localfile,
urlpath,
{
:port => definition.kickstart_port,
- :host => definition.kickstart_ip,
:timeout => definition.kickstart_timeout,
}
)
-
+
begin
self.when_winrm_login_works(self.ip_address,winrm_options.merge(options)) do
env.ui.info "Going to try and copy #{localfile} to #{remotefile.inspect}"
self.exec("cmd.exe /C cscript %TEMP%\\wget.vbs /url:http://#{host_ip_as_seen_by_guest}:#{definition.kickstart_port}#{urlpath} /path:#{remotefile}")
# while true do