summaryrefslogtreecommitdiffstats
path: root/sysprep/firstboot.ml
Commit message (Collapse)AuthorAgeFilesLines
* sysprep: handle distro specific sysv scriptsOlaf Hering2012-09-221-11/+70
| | | | | | | | | | | | | Currently firstboot would only work on redhat-based images. Handle redhat-based, suse-based and debian guests, error out in case of an unknown distro. Update firstboot.sh: - make sure scripts exists and can be executed - add LSB header to avoid insserv warnings later on - run script only if called with "start" Update functions, pass only required options. Signed-off-by: Olaf Hering <olaf@aepfle.de>
* sysprep: Add --firstboot functionality.Richard W.M. Jones2012-08-181-0/+102
This allows you to add scripts that run in the context of the guest the first time it boots.