From 867d77d72852e068a6a113467506e61d33a403a0 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 7 Jan 2013 02:37:03 +0700 Subject: camkrebs: update --- minikrebs/profiles/krebs/customfiles/usr/bin/genhostid | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'minikrebs/profiles/krebs/customfiles/usr') 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 -- cgit v1.2.3