[ovirt-users] ovirt-hosted-engine-setup with answer file

Finstrle, Ludek lfinstrle at netsuite.com
Fri Oct 10 14:10:46 UTC 2014


<html><bodyHi,

  I'm trying to use:
1) Generate answer file:
   ovirt-hosted-engine-setup --generate-answer=/root/ohe-answers.conf
   (cancel when it asks for confirmation of installation settings)
2) template the ohe-answers.conf
3) make silent/unattended installation with:
   ovirt-hosted-engine-setup --config-append=/root/ohe-answers.conf


I see few points/problems/challenges:
1) Is it possible to suppress question:
[ INFO  ] Stage: Initializing
          Continuing will configure this host for serving as hypervisor
and create a VM where you have to install oVirt Engine afterwards.
          Are you sure you want to continue? (Yes, No)[Yes]:

2) I have already answer none:None for firewall. Is it possible to
suppress question (it's annoying also during upgrades):
          iptables was detected on your computer, do you wish setup to
configure it? (Yes, No)[Yes]: No

3) How can I put the name of hosted engine to the ohe-answers.conf file?
This is not recorded during --generate-answer:
          Enter the name which will be used to identify this host inside
the Administrator Portal [hosted_engine_1]: 

4) Is it possible to suppress also the config confirmation question?
          --== CONFIGURATION PREVIEW ==--
...
          Please confirm installation settings (Yes, No)[Yes]: No

5) Is it possible to instruct ovirt-hosted-engine-setup to stop after
preparation of environment for installing the host_engine and also
second step continue in installation after host_engine installation is
done? You know it's hard for scripts to follow the interactive way.

Any pointer to relevant documentation how to install ovirt hosted engine
as much non-interactive as possible is also welcome.

Thank you for any hint

Luf


NOTICE: This email and any attachments may contain confidential and proprietary information of NetSuite Inc. and is for the sole use of the intended recipient for the stated purpose. Any improper use or distribution is prohibited. If you are not the intended recipient, please notify the sender; do not review, copy or distribute; and promptly delete or destroy all transmitted information. Please note that all communications and information transmitted through this email system may be monitored by NetSuite or its agents and that all incoming email is automatically scanned by a third party spam and filtering service

</body></html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141010/8441bd04/attachment-0001.html>


More information about the Users mailing list