Browse Source

use python3 when getting UUID

master
Jim Paris 1 year ago
parent
commit
7dea155f58
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      initial-setup.sh

+ 1
- 1
initial-setup.sh View File

@@ -13,7 +13,7 @@ cd "${BORG_DIR}"
BORG_BIN="${BORG_DIR}/bin/borg.$(uname -m)"

# Use stable host ID in case MAC address changes
HOSTID="${HOSTNAME}@$(python -c 'import uuid;print(uuid.getnode())')"
HOSTID="${HOSTNAME}@$(python3 -c 'import uuid;print(uuid.getnode())')"

function error_handler() {
echo "Error at $1 line $2:"


Loading…
Cancel
Save