Bug 1302608 - group directive is not added into anaconda-ks.cfg
group directive is not added into anaconda-ks.cfg
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda (Show other bugs)
6.7
All Linux
medium Severity medium
: rc
: ---
Assigned To: Anaconda Maintenance Team
Release Test Team
: EasyFix, Reopened
Depends On:
Blocks: 1269194
  Show dependency treegraph
 
Reported: 2016-01-28 04:15 EST by Masahiro Matsuya
Modified: 2017-08-15 14:56 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-15 14:56:19 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Masahiro Matsuya 2016-01-28 04:15:19 EST
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 04:17 EST
Created attachment 1119076 [details]
proposed patch

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