aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/hostid-gen
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-05-03 00:10:05 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-05-03 00:10:05 -0700
commit76137eca434293eaf138c95e285d128cae903119 (patch)
treee3d97cf14b4680b81be42ce9bbdfada5316a3f41 /scripts/hostid-gen
parentd3fcdee236c02239de4117f731651c3c546f02e3 (diff)
downloadnix-76137eca434293eaf138c95e285d128cae903119.tar
nix-76137eca434293eaf138c95e285d128cae903119.tar.gz
nix-76137eca434293eaf138c95e285d128cae903119.tar.bz2
nix-76137eca434293eaf138c95e285d128cae903119.tar.lz
nix-76137eca434293eaf138c95e285d128cae903119.tar.xz
nix-76137eca434293eaf138c95e285d128cae903119.tar.zst
nix-76137eca434293eaf138c95e285d128cae903119.zip
Add host darkstar
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 ' '