virt-sysprep: Use /dev/urandom instead of /dev/random.
[libguestfs.git] / clone / virt-sysprep.in
index 0262015..12c55bc 100644 (file)
@@ -322,7 +322,7 @@ if [ "$random_seed" = "yes" -a "$type" = "linux" ]; then
         f=$mnt/var/lib/urandom/random-seed
     fi
     if [ -n "$f" ]; then
-        dd if=/dev/random of="$f" bs=8 count=1 conv=nocreat,notrunc 2>/dev/null
+        dd if=/dev/urandom of="$f" bs=8 count=1 conv=nocreat,notrunc 2>/dev/null
     fi
 fi