From d8de49a53d857365ece3fa1bdbd7738ccc9134de Mon Sep 17 00:00:00 2001 From: Cobra Date: Tue, 7 Apr 2026 14:44:59 -0400 Subject: [PATCH] Remove bb- prefix from device ID default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bb- prefix is a tool fingerprint — visible in Infisical key names, alerter payloads, and config files on the device. Default is now a plain 10-char hex string with no identifying prefix. --- operator_setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/operator_setup.sh b/operator_setup.sh index 38a8f84..8b10c68 100755 --- a/operator_setup.sh +++ b/operator_setup.sh @@ -221,10 +221,10 @@ else error "Invalid SSH option" fi -# Device ID +# Device ID — no tool fingerprint in default step "Device ID" -DEFAULT_DEVICE_ID="bb-$(cat /proc/sys/kernel/random/uuid | cut -c1-8)" -prompt_default device_id "Device label (e.g. bb-a3f2c1)" "$DEFAULT_DEVICE_ID" +DEFAULT_DEVICE_ID=$(cat /proc/sys/kernel/random/uuid | tr -d '-' | cut -c1-10) +prompt_default device_id "Device label (e.g. a3f2c19d08)" "$DEFAULT_DEVICE_ID" DEVICE_ID="$device_id" # Hostname — pick from MAC device profiles (matches MAC identity)