I've just had a play with the current stateless linux stuff, to see what it's like compared to my existing home-grown diskless setup. It's certainly given me some more ideas.
I've come across a couple of issues in getting it to work so far, so I thought I'd document them here: http://people.redhat.com/~law/ks-diskless.cfg I know that this is just an example to hack upon, but it might as well be a working one. The line that reads sysimage = /export/FC6 needs to be sysimage = "/export/FC6" or python bails on me. Not helpful is the fact that there's no logging that I could find to work out why it bailed at this stage. It doesn't even let you know anything bad has happened. Perhaps it'd also be worth doing: cat > /export/FC6/post-install.py <<EOF python-blah-blah-blah EOF /usr/bin/python /export/FC6/post-install.py >& /tmp/post-install-log So that we at least get a log of anything that's happened. Also running the crontabs will bite, as an FC6 install has a delay deliberately introduced, which would mean this would potentially take a couple of hours to progress. Perhaps: def RunCrontabs(): crondirs = glob.glob ("/etc/cron.*") crondirs.remove ("/etc/cron.deny") crondirs.remove ("/etc/cron.daily/000-delay.cron") crondirs.remove ("/etc/cron.weekly/000-delay.cron") crondirs.remove ("/etc/cron.monthly/000-delay.cron") for crondir in crondirs: for cronfile in glob.glob (crondir + "/*"): SystemWrapper (cronfile) Anyhows, just ideas from having come to Stateless Linux with a clear mind ;) jh -- "Waste no more time arguing what a good man should be. Be one." -- Aurelius _______________________________________________ Stateless-list mailing list [email protected] http://www.redhat.com/mailman/listinfo/stateless-list
