Bug 1328352

Summary: [RFE] Support initial-setup / ks firstboot directive
Product: [oVirt] ovirt-node Reporter: Wei Wang <weiwang>
Component: RFEsAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED DEFERRED QA Contact: Wei Wang <weiwang>
Severity: high Docs Contact:
Priority: medium    
Version: 4.0CC: bugs, cshao, fdeutsch, huzhao, leiwang, yaniwang, ycui
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: fdeutsch: ovirt-4.2?
rule-engine: planning_ack?
rule-engine: devel_ack?
cshao: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-20 06:42:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
kickstart file none

Description Wei Wang 2016-04-19 08:05:50 UTC
Created attachment 1148384 [details]
kickstart file

Description of problem:
Package "initial-setup" is not installed after firstboot enabled with kickstart file

Version-Release number of selected component (if applicable):
ovirt-node-ng-installer-ovirt-4.0-2016041721.iso
ovirt-node-ng-image-update-placeholder-4.0.0-0.2.alpha1.20160405123556.gitbd184ec.el7.noarch
ovirt-node-4.0.0
imgbased-0.6-0.201604150305git1e3b28f.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. Automatic install a machine with kickstart file(key parameter: "firstboot --enable") in attachment
2. After installation and reboot
3. Check the package "initial-setup"


Actual results:
Package "initial-setup" is not installed


Expected results:
Package "initial-setup" should be installed


Additional info:
According to the official document on https://github.com/rhinstaller/pykickstart/blob/master/docs/kickstart-docs.rst, we can see the below info:

Determine whether the Setup Agent starts the first time the system is booted. If enabled, the initial-setup package must be installed. If not specified, the setup agent (initial-setup) is disabled by default.

Comment 1 Fabian Deutsch 2016-04-19 08:37:21 UTC
This is probably because initial-setup is not part of the image, and thus it can not be started on the first boot.

initial-setup requires anaconda, which is adding a few megabytes.

Comment 2 Fabian Deutsch 2016-08-29 16:01:35 UTC
*** Bug 1345790 has been marked as a duplicate of this bug. ***

Comment 3 Fabian Deutsch 2016-09-02 10:08:55 UTC
Moving this out until we see a request or bug report.

Comment 4 Fabian Deutsch 2016-10-20 06:42:08 UTC
Closing for now until there is a customer requirement.