diff options
author | Chris Lumens <clumens@redhat.com> | 2008-10-30 13:11:28 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-10-30 13:11:28 -0400 |
commit | fce5d1588c7aaf0c01421e9e6fd7ceb94b553773 (patch) | |
tree | d49ceb374a53a27005ee8bdb557f5e55133d12a8 /instdata.py | |
parent | 599432c83e61d32a0363658774629a22b6f18540 (diff) | |
download | anaconda-fce5d1588c7aaf0c01421e9e6fd7ceb94b553773.tar.gz anaconda-fce5d1588c7aaf0c01421e9e6fd7ceb94b553773.tar.xz anaconda-fce5d1588c7aaf0c01421e9e6fd7ceb94b553773.zip |
Write out the path to the repo, not anaconda-ks.cfg (#467753).
Diffstat (limited to 'instdata.py')
-rw-r--r-- | instdata.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/instdata.py b/instdata.py index ae629c991..25aee6157 100644 --- a/instdata.py +++ b/instdata.py @@ -255,9 +255,14 @@ class InstallData: elif self.instClass.installkey: f.write("key %s\n" %(self.instClass.installkey,)) - if self.anaconda.stage2: + m = None + + if self.anaconda.methodstr: + m = self.anaconda.methodstr + elif self.anaconda.stage2: m = self.anaconda.stage2 + if m: if m.startswith("cdrom:"): f.write("cdrom\n") elif m.startswith("hd:"): |