You are not logged in.

#1 2013-11-17 05:58:41

mnovick1988
Member
Registered: 2013-11-17
Posts: 4

Unnatended PXE install help

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.

Offline

#2 2013-11-17 06:22:28

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Unnatended PXE install help

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.

Offline

#3 2013-11-18 21:58:00

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Unnatended PXE install help

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)

Offline

#4 2013-11-19 19:51:30

mnovick1988
Member
Registered: 2013-11-17
Posts: 4

Re: Unnatended PXE install help

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.

Offline

Board footer

Powered by FluxBB