Wizard sounds too friendly and reliable :>

I've been working on a script to turn a fresh install into a cpu/auth server

I've put what I've got so far on sources

/n/sources/contrib/maht/rc/make_cpuauth

or http://plan9.bell-labs.com/sources/contrib/maht/rc/make_cpuauth

What it does is work through the steps laid out in 

http://plan9.bell-labs.com/wiki/plan9/Configuring_a_standalone_CPU_server/

All the way up to the REBOOT section

and adds a script /sys/lib/newfsysuser
that adds a new user via auth/chaneguser and adds that user to fossil in group 
sys

If you like you can then run auth/login -u $user on the auth terminal as bootes
followed by /sys/lib/newuser
and exit back to bootes

or else do it once you drawterm in


What it doesn't do :
1. Set up the file server part
        I didn't work out how to do that, the wiki page is a bit intimidating

2. Set up mail
        I haven't got mine to work yet so no point adding it to the script
        Mail files are owned upas:upas and mode 775 so I'm not sure how to 
write them
        unless I mount fossil -AWP

3. Set up DHCPD
        Again, I've not got that far in my own setup yet

other stuff, please let me know

If people are interested in using it it probably needs a bit of toughening up.
I've been using QEMU in snapshot mode to test it, so failure had few 
consequences.



matt




Reply via email to