Bug 1302608 - group directive is not added into anaconda-ks.cfg
Summary: group directive is not added into anaconda-ks.cfg
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.7
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1269194
TreeView+ depends on / blocked
 
Reported: 2016-01-28 09:15 UTC by Masahiro Matsuya
Modified: 2019-10-10 11:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-15 18:56:19 UTC
Target Upstream Version:


Attachments (Terms of Use)
proposed patch (521 bytes, patch)
2016-01-28 09:17 UTC, Masahiro Matsuya
no flags Details | Diff

Description Masahiro Matsuya 2016-01-28 09:15:19 UTC
Description of problem:
The kickstart file used for installation has a group directive. But, after installation, it's not in /root/anaconda-ks.cfg.


    def writeKS(self, filename):
...
        if self.anaconda.isKickstart:
            f.write(self.ksdata.user.__str__())
            f.write(self.ksdata.services.__str__())
            f.write(self.ksdata.reboot.__str__())

f.write(self.ksdata.group.__str__()) is missing here definitely.

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 6

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL6.7 with a kickstart file including group directive
2. After installation, check /root/anaconda-ks.cfg

Actual results:
group directive is not in /root/anaconda-ks.cfg

Expected results:
group directive is written in /root/anaconda-ks.cfg

Comment 1 Masahiro Matsuya 2016-01-28 09:17:28 UTC
Created attachment 1119076 [details]
proposed patch


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