Note: lists.cloudfoundry.org will be down for maintenance on Monday, September 26th, starting at 9AM Pacific Time (4PM Monday September 26, 2022 UTC), for approximately one hour.
- unable to execute set of command(script files) on bosh ssh vm machine (Automcation)
unable to execute set of command(script files) on bosh ssh vm machine (Automcation)
I need to execute set of command on bosh vm machine from other(local) system. I created one script file and i passed script file in following way to execute it on remote machine.
This is my sample script:
bosh download manifest testjob > cf-testjob.yml
bosh deployment cf-testjob.yml
bosh ssh testvm/0 < script.sh
script.sh contain the set of shell script command that need to be execute on testvm/0 machine.
But while execute this script its giving me following error:
Pseudo-terminal will not be allocated because stdin is not a terminal.
Any idea how to do or any alternate way?
Thanks in advance.