У меня есть сценарий оболочки от поставщика, который требует двухкратного запроса при запуске на Linux Server. Может ли кто-нибудь помочь, как мы можем обеспечить ввод подсказки два раза в одной команде в целях автоматизации.
Здесь o и 1 — подсказки.
sh Contrast-3.11.6.sh
Unpacking JRE ...
Starting Installer ...
Acquire Linux root privilege
Root privileges could not be acquired. The Contrast server will not be
installed as a Linux service that starts automatically on system boot and
database backups will need to be manually setup.
This will install Contrast Enterprise On-Premises on your computer.
OK [o, Enter], Cancel [c]
o
A previous installation has been detected. Do you wish to update that installation?
Yes, update the existing installation [1, Enter]
No, install into a different directory [2]
1
У меня есть сценарий оболочки от поставщика, который требует двухкратного запроса при запуске на Linux Server. Может ли кто-нибудь помочь, как мы можем обеспечить ввод подсказки два раза в одной команде в целях автоматизации. Здесь o и 1 — подсказки. [code]sh Contrast-3.11.6.sh Unpacking JRE ... Starting Installer ... Acquire Linux root privilege Root privileges could not be acquired. The Contrast server will not be installed as a Linux service that starts automatically on system boot and database backups will need to be manually setup. This will install Contrast Enterprise On-Premises on your computer. OK [o, Enter], Cancel [c] o A previous installation has been detected. Do you wish to update that installation? Yes, update the existing installation [1, Enter] No, install into a different directory [2] 1 [/code] Спасибо, Арпит