git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
248465a
)
virt-sysprep: Use /dev/urandom instead of /dev/random.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 13 Oct 2011 22:30:13 +0000
(23:30 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 13 Oct 2011 22:30:13 +0000
(23:30 +0100)
clone/virt-sysprep.in
patch
|
blob
|
history
diff --git
a/clone/virt-sysprep.in
b/clone/virt-sysprep.in
index
0262015
..
12c55bc
100644
(file)
--- 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/
u
random of="$f" bs=8 count=1 conv=nocreat,notrunc 2>/dev/null
fi
fi