I manage to get a custom installation for a server. I've setup an OpenSolaris IPS repository with a custom package that adds a configuration script in /etc/rc2.d/. The configuration script setup root account, syslog, backup, shell, snmp ... then remove the custom package and reboot.
I've attached the configuration manifest and a simple manifest server that runs on linux. > 3/ I really don't understand why the web browser's > home page is configured via the installer and force > us to install the firefox package (bug 5558), there > is a simple fix but a clean solution would be to > configure the home page in Firefox's post-install > scripts. My custom package adds /usr/lib/firefox/browserconfig.properties so I don't need to include firefox package. > 4/ I don't want to use multicast DNS for service > detection, this should be optional. In pxegrub menu I've added install_service=BAD,install_svc_address=192.168.2.1:46501 so it works without mDNS. > 5/ The most anoying part is the lack of post-install > scripts for custom configuration. I will have to > set-up an IPS repository, create and publish a > PWKpost-install package that will configure the > system when installed. Install it at the end of the > AI process and then remove the package. It's quite an > ugly solution. I need a post-install script for telling the netboot server to change netboot to localdisk instead of "opensolaris-install" and make many automated configuration. The first part is made on the manifest server which change the netboot one the manifest has been downloaded and the system configuration is made with a custom package that installs a script in /etc/rc2.d/. I also need to pass some parameters to the configuration script (netboot host and netboot password), this is done by adding comments containing the parameters in the manifest. It's ugly but works. Now I've got a nearly well auto-configured opensolaris server that uses only 1,3 Gb of space (thats 3 time more than a similar Debian server). Some packages are missing like smartmontools (S.M.A.R.T. disk checking) and syslog-ng that are widely used on servers. -- This message posted from opensolaris.org -------------- next part -------------- A non-text attachment was scrubbed... Name: default.xml Type: application/octet-stream Size: 5088 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20091006/90a9c1c2/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: osol-ai-server.py Type: application/octet-stream Size: 3179 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20091006/90a9c1c2/attachment-0001.obj>