From 19ae7369e30ea47aaa3e30f3c64adc89f9590c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Numbus?= Date: Mon, 25 May 2026 17:13:25 +0200 Subject: [PATCH] Fix SSHEND error. --- script/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/deploy.sh b/script/deploy.sh index 292fcf0..1429814 100755 --- a/script/deploy.sh +++ b/script/deploy.sh @@ -90,7 +90,7 @@ hierarchy_preparation() { hardware_detection() { local TMPFILE="/tmp/nixos-installation-hw-detection.json" - ssh_to_host "nix-shell -p jq pciutils usbutils smartmontools iproute2 --run 'bash -s'" << SSHEND + ssh_to_host "nix-shell -p jq pciutils usbutils smartmontools iproute2 --run 'bash -s'" << SSHEND > "${STDOUT}" 2> "${STDERR}" set -euo pipefail # --- Initialize Global JSON Output --- @@ -339,7 +339,7 @@ detect_disks # --- Output --- echo "\$HW_REPORT" | jq '.' > "$TMPFILE" -SSHEND > "${STDOUT}" 2> "${STDERR}" +SSHEND scp -i "${TMP_EXTRA_PATH}/home/numbus-admin/.ssh/id_ed25519" "${TARGET_USER}@${LIVE_TARGET_IP}":"${TMPFILE}" "${HW_DATA_FILE}" > "${STDOUT}" 2> "${STDERR}"