summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-01-07 12:06:33 +0000
committermakefu <root@pigstarter.de>2013-01-07 12:06:33 +0000
commitad376d1dab439f9d28bf7ff02bfa7afed7444037 (patch)
treef09e0ed2c0da0e5e467188bb88464d22e2d2c7a1 /minikrebs/profiles/krebs/customfiles/usr/bin/genhostid
parentb2df392966df95102bb8cf4ee3f043d4b6ed633f (diff)
parent6ea50f3c77350e715649aa45061beb1701ebaa95 (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'minikrebs/profiles/krebs/customfiles/usr/bin/genhostid')
-rwxr-xr-xminikrebs/profiles/krebs/customfiles/usr/bin/genhostid2
1 files changed, 2 insertions, 0 deletions
diff --git a/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid b/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid
new file mode 100755
index 00000000..463e04b7
--- /dev/null
+++ b/minikrebs/profiles/krebs/customfiles/usr/bin/genhostid
@@ -0,0 +1,2 @@
+#!/bin/sh
+dd if=/dev/urandom bs=1 count=4> /etc/hostid