Bug 1288224 - add yaml option to run with answers file w/o prompting
Summary: add yaml option to run with answers file w/o prompting
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: fusor-installer
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: TP2
: 1.0
Assignee: jkim
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
: 1217526 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-03 21:54 UTC by Dave Johnson
Modified: 2019-02-25 17:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-25 17:27:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dave Johnson 2015-12-03 21:54:39 UTC
Description of problem:
============================
For the test automation, we want to populate an answers file for fusor-installer and allow it to run without prompting for input.  Currently it detect the answers file and populates the interactive menu but still wants someone to chose option #1 (proceed with the above values).  QE would like an optional kvp to tell the installer to run with these values without the prompt.

Comment 1 jkim 2015-12-10 15:47:14 UTC
running the fusor installer with the "provisioning-wizard" option defined to "non-interactive" provides a way to run it without user interaction

steps to run without user interaction:

(1) take the answers file and place them in to the /etc/katello-installer folder
(2) run the fusor installer as follows
 fuser-installer --provisioning-wizard=non-interactive

Comment 2 Tasos Papaioannou 2016-01-25 21:38:34 UTC
VERIFIED on RHCI-6.0-RHEL-7-20160118.t.1.

# ls /etc/katello-installer/fusor-installer.answers.yaml
/etc/katello-installer/fusor-installer.answers.yaml

# fusor-installer --provisioning-wizard=non-interactive
Starting networking setup
Networking setup has finished
NTP sync host is ok
Installing             Done                                               [100%]
[...]
#

Comment 3 John Matthews 2016-02-15 20:36:27 UTC
*** Bug 1217526 has been marked as a duplicate of this bug. ***

Comment 4 Sudhir Mallamprabhakara 2019-02-25 17:27:20 UTC
QCI has sunset. Closing the BZ's.


Note You need to log in before you can comment on or make changes to this bug.