summaryrefslogtreecommitdiffstats
path: root/clone
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-10-13 23:30:13 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-10-13 23:30:13 +0100
commit05c26a9c099fe7616c95daaa3d473ee23f93e1b1 (patch)
tree2fbfabc5ff9f423b2ed5ffe2b2197f0a08722b28 /clone
parent248465a6206dd3881adebcd2c17ea0a0c2f59742 (diff)
downloadlibguestfs-05c26a9c099fe7616c95daaa3d473ee23f93e1b1.tar.gz
libguestfs-05c26a9c099fe7616c95daaa3d473ee23f93e1b1.tar.xz
libguestfs-05c26a9c099fe7616c95daaa3d473ee23f93e1b1.zip
virt-sysprep: Use /dev/urandom instead of /dev/random.
Diffstat (limited to 'clone')
-rw-r--r--clone/virt-sysprep.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/clone/virt-sysprep.in b/clone/virt-sysprep.in
index 02620155..12c55bc0 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