We're updating the issue view to help you get more done. 

Command line too long on agent installation through winrm

Description

When trying to copy the agent installation script to a new node using the userdata method,
there is a failure because the command passed to the command line is too long
in windows.

This happens because winrm doesn't provide a ftp-like functionality to transfer files,
so the way to transfer a file is by using a powershell command that echoes
the content of the file and redirect its output to a file. However, on long files, the
command line length limit might be exceeded which is what is happening in this case.

Status

Assignee

Javier Collado Cabeza

Reporter

Javier Collado Cabeza

Labels

None

Severity

None

Bug Type

None

Target Version

None

Severity

None

Fix versions

Affects versions

4.1.1.1
4.2