[Fedora-spins] [spin-kickstarts] Fix firstboot for f14alpha

Kevin Fenzi kevin at fedoraproject.org
Tue Aug 10 16:55:23 UTC 2010


commit 6e1f23814506c3105878d7d33125910efbebf25f
Author: kevin <kevin at tummy.com>
Date:   Tue Aug 10 10:54:52 2010 -0600

    Fix firstboot for f14alpha

 fedora-live-base.ks |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 2a355ea..3bde1cc 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -182,6 +182,13 @@ passwd -d liveuser > /dev/null
 
 # turn off firstboot for livecd boots
 chkconfig --level 345 firstboot off 2>/dev/null
+# We made firstboot a native systemd service, so it can no longer be turned
+# off with chkconfig. It should be possible to turn it off with systemctl, but
+# that doesn't work right either. For now, this is good enough: the firstboot
+# service will start up, but this tells it not to run firstboot. I suspect the
+# other services 'disabled' below are not actually getting disabled properly,
+# with systemd, but we can look into that later. - AdamW 2010/08 F14Alpha
+echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
 
 # don't start yum-updatesd for livecd boots
 chkconfig --level 345 yum-updatesd off 2>/dev/null


More information about the spins mailing list