From 0ea86eaad9bb2a2c3c72ffc787b65311bc981b20 Mon Sep 17 00:00:00 2001 From: Martin Langhoff Date: Tue, 9 Sep 2008 17:08:29 +1200 Subject: [PATCH] base.py: The kickstart file is now named revisorks.cfg With this, a non-kickstart install can take place. --- revisor/base.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/revisor/base.py b/revisor/base.py index 3ffae35..2327b29 100644 --- a/revisor/base.py +++ b/revisor/base.py @@ -1641,9 +1641,9 @@ class RevisorBase: # generated during our run, partially modified during our run, and may not have # been used at all if self.cfg.use_kickstart_file: - shutil.copyfile(self.cfg.kickstart_file, os.path.join(mypungi.topdir,"ks.cfg")) + shutil.copyfile(self.cfg.kickstart_file, os.path.join(mypungi.topdir,"revisorks.cfg")) else: - f = open(os.path.join(mypungi.topdir,"ks.cfg"), "w") + f = open(os.path.join(mypungi.topdir,"revisorks.cfg"), "w") f.write(self.cfg.ksobj.__str__()) f.close() @@ -1658,7 +1658,7 @@ class RevisorBase: # buf = buf.replace("default vesamenu.c32","default ks") f.seek(0) f.write(buf) - f.write("label ks\n menu label " + _("^Install using kickstart") + "\n menu default\n kernel vmlinuz\n append initrd=initrd.img ks=cdrom:/ks.cfg %s\n" % self.cfg.im_append) + f.write("label ks\n menu label " + _("^Install using kickstart") + "\n menu default\n kernel vmlinuz\n append initrd=initrd.img ks=cdrom:/revisorks.cfg %s\n" % self.cfg.im_append) f.close() # Do some really neat routine here -- 1.5.5.1