Displaying 2 results from an estimated 2 matches for "c5296a1".
Did you mean:
52961
2013 Dec 12
2
Re: [PATCH] sysprep: handle distro specific sysv scripts
...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>
>
> diff --git a/sysprep/firstboot.ml b/sysprep/firstboot.ml
> index 97cd8a9..c5296a1 100644
> --- a/sysprep/firstboot.ml
> +++ b/sysprep/firstboot.ml
> @@ -28,14 +28,35 @@ let firstboot_dir = "/usr/lib/virt-sysprep"
> let firstboot_sh = sprintf "\
> #!/bin/sh -
>
> +### BEGIN INIT INFO
> +# Provides: virt-sysprep
> +# Required-S...
2012 Sep 21
3
[PATCH] 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