aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/hostid-gen
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/hostid-gen2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/hostid-gen b/scripts/hostid-gen
new file mode 100755
index 0000000..8131df1
--- /dev/null
+++ b/scripts/hostid-gen
@@ -0,0 +1,2 @@
+#!/usr/bin/env zsh
+grep -aEo '[[:xdigit:]]{4}' /dev/random | head -2 | xargs | tr A-Z a-z | tr -d ' '