[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH] sysprep: handle SuSE in random-seed operation



Signed-off-by: Olaf Hering <olaf 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]