Create an IPS package that contains:
The service manifest file from Creating an SMF Manifest File.
The first-boot script from Creating a Script to Run at First Boot.
Any files needed by the script that cannot be provided from another location such as the AI server.