diff options
author | makefu <github@syntax-fehler.de> | 2013-01-07 02:37:03 +0700 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-01-07 02:37:03 +0700 |
commit | 867d77d72852e068a6a113467506e61d33a403a0 (patch) | |
tree | a976912ba3908f9e52618a88436e73f9e6416139 /minikrebs/profiles/krebs/customfiles | |
parent | 9f8c86cce1d31cff069387920e3c2d3294b74e39 (diff) |
camkrebs: update
Diffstat (limited to 'minikrebs/profiles/krebs/customfiles')
-rwxr-xr-x | minikrebs/profiles/krebs/customfiles/usr/bin/genhostid | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid b/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid index e6010471..463e04b7 100755 --- a/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid +++ b/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid @@ -1,4 +1,2 @@ #!/bin/sh -if [ ! -e /etc/hostid ];then - dd if=/dev/urandom bs=1 count=4 | hexdump -e '8 "%x"' > /etc/hostid -fi +dd if=/dev/urandom bs=1 count=4> /etc/hostid |