Who Me Too'd this solution

Marty,
Techie
Posts: 0
This widget could not be displayed.
This widget could not be displayed.

Marty,

A prompt is expected after the copy command is invoked, one that we want to say 'no' to and simply sending 'n' is sufficient.

 

Bruno,

Since this does not seem to be needed in your environment, please modify the script to remove that "\rn\" from the end line; I would just remove it from the FTP copy command, as the other methods may still cause the prompt to occur.

 

Here is what you will want to modify that section to:

 


Action-Commands: { $useftp eq "yes" and $enable_changes eq "on"}
 copy ftp://$server/$new_image_name flash:$new_image_name\r
 verify /md5 flash:$new_image_name
 SET: $havenewimage = "yes"

View solution in original post

Who Me Too'd this solution