aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-18 18:57:50 -0600
committerCraig Jennings <c@cjennings.net>2026-01-18 18:57:50 -0600
commit32dea7d77f1717ae146d1c3d22d64b84e3d373f4 (patch)
tree3315ded855cf717a4f7664f31f782b6b36dc5040 /scripts
parentb6f2207737d5b5b2e5f5a8b490e6ed52c16ebce6 (diff)
downloadarchangel-32dea7d77f1717ae146d1c3d22d64b84e3d373f4.tar.gz
archangel-32dea7d77f1717ae146d1c3d22d64b84e3d373f4.zip
Include timestamp in install-archzfs log filename
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test-install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test-install.sh b/scripts/test-install.sh
index fa5c431..f9b574e 100755
--- a/scripts/test-install.sh
+++ b/scripts/test-install.sh
@@ -248,7 +248,7 @@ verify_install() {
if [[ "$enable_ssh" == "yes" ]]; then
# Check if we can still SSH (install script reboots, so this won't work)
# Instead, check the install log for success indicators
- if ssh_cmd "grep -q 'Installation complete' /tmp/install-archzfs.log"; then
+ if ssh_cmd "grep -q 'Installation complete' /tmp/install-archzfs-*.log 2>/dev/null"; then
info "Install log shows success"
else
warn "Could not verify install log"
@@ -342,7 +342,7 @@ run_test() {
stop_vm "$config_name"
# Save logs
- ssh_cmd "cat /tmp/install-archzfs.log" > "$LOG_DIR/${config_name}-install.log" 2>/dev/null || true
+ ssh_cmd "cat /tmp/install-archzfs-*.log" > "$LOG_DIR/${config_name}-install.log" 2>/dev/null || true
cp "$SERIAL_LOG" "$LOG_DIR/${config_name}-serial.log" 2>/dev/null || true
cleanup_disks "$config_name"