Browse Source

Add notes about host ID

master
Jim Paris 2 weeks ago
parent
commit
c68b867b50
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      initial-setup.sh

+ 3
- 1
initial-setup.sh View File

@@ -12,7 +12,9 @@ cd "${BORG_DIR}"

BORG_BIN="${BORG_DIR}/bin/borg.$(uname -m)"

# Use stable host ID in case MAC address changes
# Use stable host ID in case MAC address changes.
# Note that this host ID is only used to manage locks, so it's
# not crucial that it remains stable.
HOSTID="${HOSTNAME}@$(python3 -c 'import uuid;print(uuid.getnode())')"

function error_handler() {


Loading…
Cancel
Save