Olaf Hering
2012-Sep-19 17:37 UTC
[Libguestfs] [PATCH] sysprep: handle SuSE in random-seed operation
Signed-off-by: Olaf Hering <olaf at aepfle.de> diff --git a/sysprep/sysprep_operation_random_seed.ml b/sysprep/sysprep_operation_random_seed.ml index f124c02..1c6060e 100644 --- a/sysprep/sysprep_operation_random_seed.ml +++ b/sysprep/sysprep_operation_random_seed.ml @@ -27,6 +27,7 @@ let random_seed_perform g root let files = [ "/var/lib/random-seed"; (* Fedora *) "/var/lib/urandom/random-seed"; (* Debian *) + "/var/lib/misc/random-seed"; (* SuSE *) ] in List.iter ( fun file -> -- 1.7.12
Richard W.M. Jones
2012-Sep-19 20:06 UTC
[Libguestfs] [PATCH] sysprep: handle SuSE in random-seed operation
On Wed, Sep 19, 2012 at 07:37:34PM +0200, Olaf Hering wrote:> Signed-off-by: Olaf Hering <olaf at aepfle.de> > > diff --git a/sysprep/sysprep_operation_random_seed.ml b/sysprep/sysprep_operation_random_seed.ml > index f124c02..1c6060e 100644 > --- a/sysprep/sysprep_operation_random_seed.ml > +++ b/sysprep/sysprep_operation_random_seed.ml > @@ -27,6 +27,7 @@ let random_seed_perform g root > let files = [ > "/var/lib/random-seed"; (* Fedora *) > "/var/lib/urandom/random-seed"; (* Debian *) > + "/var/lib/misc/random-seed"; (* SuSE *) > ] in > List.iter ( > fun file ->Thanks - I pushed all 3 patches. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org