I'm running a command via the SSH plugin with a modified "Run SSH Command" workflow. The commmand I'm running wants a y/n response to verify I want to run the command. How do you send a response back?
The command I'm running is a vmkfstools command as well. Is there an option with vmkfstools to force confirmation?
Thanks!
Bethany
Have you tried doing something like this:
echo "y" | vmkfstools....
That should theoretically pass a "y"-keystroke to vmkfstools.
Have you tried doing something like this:
echo "y" | vmkfstools....
That should theoretically pass a "y"-keystroke to vmkfstools.
Command "yes" is usually installed on Linux systems, so you can try this:
yes | vmkfstools....
Thanks I will try these!
The echo command worked - thanks!
If it works for you, there is also an argument to the vmtools installer (--default -or- --defaults) which will select all the default values and not ask for any input.
Carl L.