diff options
author | Olaf Hering <olaf@aepfle.de> | 2012-09-21 20:00:34 +0200 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-09-22 12:58:08 +0100 |
commit | 55fef0e4e607b1d447a0a0804acd69481f7613e4 (patch) | |
tree | 69d93f9ca4e9542c179f7e26ba5919672b30a9b0 /java | |
parent | 09c372ea250e8241d62e9fde70eabe7bdca83050 (diff) | |
download | libguestfs-55fef0e4e607b1d447a0a0804acd69481f7613e4.tar.gz libguestfs-55fef0e4e607b1d447a0a0804acd69481f7613e4.tar.xz libguestfs-55fef0e4e607b1d447a0a0804acd69481f7613e4.zip |
sysprep: handle distro specific sysv scripts
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>
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions