DEBUGGING

This commit is contained in:
Raphael Numbus
2025-12-14 18:39:21 +01:00
parent f48490991c
commit e8903da3ae
+2 -2
View File
@@ -268,7 +268,7 @@ disk_config_generation() {
TMPFILE="/tmp/nixos-deployment-temp-file"
### --> Get disk information
DISK_DETAILS=$(ssh_to_host 'bash -s' < "
DISK_DETAILS=$(ssh_to_host 'bash -s' <<EOF
# Declare arrays and variables
touch /tmp/nixos-deployment-temp-file
HDD=1
@@ -309,7 +309,7 @@ echo \"DISK_TYPE=(\${DISK_TYPE[@]})\" >> /tmp/nixos-deployment-temp-file
echo \"DISK_HEALTH=(\${DISK_HEALTH[@]})\" >> /tmp/nixos-deployment-temp-file
echo \"DISK_HEALTH=(\${DISK_ID[@]})\" >> /tmp/nixos-deployment-temp-file
echo \"DISK_SIZE=(\${DISK_SIZE[@]})\" >> /tmp/nixos-deployment-temp-file
"
EOF
)
scp nixos@$TARGET_HOST:$TMPFILE .