diff options
Diffstat (limited to 'minikrebs/profiles/krebs/customfiles/usr/bin')
-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 |