Unattended scripted partitioning

I‘m having a unattended installation script but i cant find a way to use it the official installerconfig way.

I have only one drive but running a immutable root so when updating root (by reinstallation) it has to keep the data pools.

On install i need to check if a pool is present, if so it will leave it and only reinstall the host.

My installation works by scripting everything in the preamble and calling distextract etc.. manually. But by that the installer doesnt know i‘ve called these steps myself and throws an error on finishef install.

The error has no effect but it i want to have it gone, or maybe theres an official way to accomplish my goal?

Thanks for the help in advance!

Wish yall a nice day :)
~ Marian
 
Does it have to be the official "installerconfig" way?
My installation works by scripting everything in the preamble and calling distextract etc.. manually.
It seems you have all the work done in the script, why bother with the "installerconfig" framework. I would let the custom script be executed from /etc/rc.local.

For example:
Code:
#  mv   /etc/rc.local  /etc/rc.local.orig

#  echo  "sh  /path/to/custom_script.sh"  >  /etc/rc.local
 
Back
Top