From: Richard W.M. Jones Date: Thu, 13 Oct 2011 22:30:13 +0000 (+0100) Subject: virt-sysprep: Use /dev/urandom instead of /dev/random. X-Git-Tag: 1.13.21~11 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=05c26a9c099fe7616c95daaa3d473ee23f93e1b1;p=libguestfs.git virt-sysprep: Use /dev/urandom instead of /dev/random. --- diff --git a/clone/virt-sysprep.in b/clone/virt-sysprep.in index 0262015..12c55bc 100644 --- a/clone/virt-sysprep.in +++ b/clone/virt-sysprep.in @@ -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