Hi all,
Here's a quick hack to disable firstboot from running on your Live CD:
--- 06sysconfig.py.default 2006-06-16 12:53:02.000000000 +0800
+++ 06sysconfig.py 2006-06-17 00:47:35.000000000 +0800
@@ -32,7 +32,8 @@
def tweak_firstboot_config (rootdir):
shf = sysconfig_file (rootdir, "firstboot")
- shf["RUN_FIRSTBOOT"] = "YES"
+# shf["RUN_FIRSTBOOT"] = "YES"
+ shf["RUN_FIRSTBOOT"] = "NO"
shf.write ()
def tweak_kudzu_config (rootdir):
@@ -49,6 +50,6 @@
tweak_readonly_root_config (rootdir)
tweak_udev_config (rootdir)
-tweak_firstboot_config (rootdir)
+#tweak_firstboot_config (rootdir)
#tweak_kudzu_config (rootdir)
tweak_livecd (rootdir)
Without this quick hack, firstboot will still run even if you
specify "firstboot --disable" in your kickstart file. If you
know of a better alternative, let me know!
Thanks.
Eugene
--
eteo
redhat.com ph: +65 6490 4142
http://www.kernel.org/~eugeneteo
gpg fingerprint: 47B9 90F6 AE4A 9C51 37E0 D6E1 EA84 C6A2 58DF 8823