FreeBSD Jumpstart Guide | ||
---|---|---|
Prev |
You can use the script pkgmaker.sh to create a custom package for post install, the idea is to have it install and configure any special things you may need done. pkgmaker is run in the directory above the package you wish to create with the single argument of the package (i.e., mypkg) which will then create a mypkg.tgz for you to include in your sysinstall package.
Inside your custom package dir you will want a file called PLIST which contains all the files that you wish to install and be incorporated into your package.
You will also want files called pre and post in the directory, these are shell scripts that you want to execute before and after your package is installed.
Since this package is in your install.cfg file it should be run and do the final configuration for you.