[Libguestfs] [PATCH] sysprep: remove some Pegasus files, like certs (RHBZ#1041552).
Richard W.M. Jones
rjones at redhat.com
Fri Dec 13 10:14:28 UTC 2013
On Fri, Dec 13, 2013 at 11:06:10AM +0100, Pino Toscano wrote:
> ---
> sysprep/sysprep_operation_logfiles.ml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml
> index 3055ca4..2558af1 100644
> --- a/sysprep/sysprep_operation_logfiles.ml
> +++ b/sysprep/sysprep_operation_logfiles.ml
> @@ -91,6 +91,13 @@ let globs = List.sort compare [
>
> (* log file of ntp *)
> "/var/log/ntpstats/*";
> +
> + (* Pegasus certificates and other files *)
> + "/etc/Pegasus/*.cnf";
> + "/etc/Pegasus/*.crt";
> + "/etc/Pegasus/*.csr";
> + "/etc/Pegasus/*.pem";
> + "/etc/Pegasus/*.srl";
> ]
> let globs_as_pod = String.concat "\n" (List.map ((^) " ") globs)
>
> --
> 1.8.3.1
ACK.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
More information about the Libguestfs
mailing list