Hello and Thankyou for bothering to read this...
Anyways, im working on a unnatended install script. the script its self works perfectly, but i was wondering is there any way to automate launching of the script? or does init have to be edited and added to runlevel4?
Id really prefer not to have to edit the init, as everything is served and mirrored locally.
You could make your own archiso and have your script launched as a systemd service. I have never tried such a thing, but in my head I don't see why it wouldn't work.
Check out the archiso wiki page (and package). You could modify the releng config to fit your needs I think.
There is the possibility to make the archiso download and run a script specified via the boot parameters. You can find the script that does this at /usr/share/archiso/configs/releng/root-image/root/.automated_script.sh , after installing the 'archiso' package.
Also you should probably read up on systemd, which does not use runlevels, but targets.
Can i have a look at your unattended install script?
Last edited by teateawhy (2013-11-18 21:58:53)
Thanks, ill take a look into it... i figured such though, i wanted to avoid it. this means i will also have to setup up a update script to rebuild it every 24-48 hours following the package updates.