Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

Network Change & Configuration Management

Posts: 37
This widget could not be displayed.
This widget could not be displayed.


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



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