If in the wrong forum, sorry.
Complete NEWB with GIT. I have a server built, got through that OK, figured out how to create directories, download from S3, created rb scripts etc. but for the life of me, cannot figure out how to do a response template to autoinstall an agent from Solarwinds, or an install for a 3rd party app to accept defaults and accept the EULA. The setup is hanging at that point.
The 3rd party is just this,
Enter the fully qualified name of the directory beneath which the
product(s) will be installed (default: [/opt/mydir]):
Requested installation directory is (/opt/mydir)
Directory (/opt/mydir) does not exist
Do you want to create it now? (default: [y]):
According to the install log, it does create the directory(which is where the install.log is located, then shows this,
Mon Feb 12 21:11:52 UTC 2018 Product selection confirmed
Mon Feb 12 21:11:52 UTC 2018 Displaying the License Agreement
so need something that will accept it and any other questions that come up. Right now it just sits at running_setup.
The Solarwinds setup is quite different in that it is the init script, and since I want this to deploy to a large group, I want to automate it. It presents a menu when run.
service swiagentd init
0. Cancel and Exit without Saving
1. Agent Mode (1 - Agent Initiated, 0 - Server Initiated) 
2. Orion Poller Hostname/IP [orion.domain.com]
3. Orion Poller Port 
4. Orion Username [admin]
5. Orion Password 
6. Proxy Settings… [mode=disabled]
7. Save Changes and Exit
I need an answer file that will present the line number, then the answer for it for lines 1, 2, 5 and 7. I was going to use expect, but apparently not supported.