Bug 591479 - Incorrect anaconda-ks.cfg written
Summary: Incorrect anaconda-ks.cfg written
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: David Cantrell
QA Contact: Release Test Team
Depends On:
Blocks: 582286
TreeView+ depends on / blocked
Reported: 2010-05-12 11:20 UTC by Marian Ganisin
Modified: 2010-07-02 20:49 UTC (History)
1 user (show)

Fixed In Version: anaconda-13.21.47-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-07-02 20:49:15 UTC
Target Upstream Version:

Attachments (Terms of Use)

Comment 2 RHEL Program Management 2010-05-12 13:17:45 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 3 David Cantrell 2010-05-12 16:39:27 UTC
Easy fix:

diff --git a/instdata.py b/instdata.py
index c226cd4..8eefcd6 100644
--- a/instdata.py
+++ b/instdata.py
@@ -231,7 +231,7 @@ class InstallData:
                 f.write("harddrive --partition=%s --dir=%s\n" % (part, dir))
             elif m.startswith("nfs:") or m.startswith("nfsiso:"):
                 if m.count(":") == 3:
-                    (method, server, opts, dir) = m.split(":")
+                    (method, opts, server, dir) = m.split(":")
                     f.write("nfs --server=%s --opts=%s --dir=%s" % (server, opt
                     (method, server, dir) = m.split(":")

Comment 5 Alexander Todorov 2010-05-25 13:06:17 UTC
With anaconda-13.21.45-1.el6 the order of NFS server, options and directory is correct however there's missing newline character at the end. Thus the next command 'lang en_US.UTF-8' is appended to the current line. Moving back to ASSIGNED.

Note: to reproduce pass method=nfs:opts:server:/dir on the boot command line.

Comment 6 David Cantrell 2010-05-25 16:07:43 UTC
Missing a newline.  Easy.

Comment 8 Alexander Todorov 2010-05-31 11:57:31 UTC
With anaconda-13.21.48 both missing newline and incorrect order are fixed. Moving to VERIFIED.

Comment 9 releng-rhel@redhat.com 2010-07-02 20:49:15 UTC
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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