From 0a058b2bd035634412542b06f3986e49aa27995d Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 24 Sep 2024 00:32:27 +0900 Subject: [PATCH] Drop synlink with no referent ... to fix the rsync error in transferring logs. Change-Id: I160eca3c7eb79a9bb4d3b3fe5cbe1dc384a84cdd --- playbooks/container-builder-copy-logs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/container-builder-copy-logs.yaml b/playbooks/container-builder-copy-logs.yaml index 1e0dbb80f9..6f1f4f4520 100644 --- a/playbooks/container-builder-copy-logs.yaml +++ b/playbooks/container-builder-copy-logs.yaml @@ -6,6 +6,7 @@ mkdir -p logs # copy system log sudo cp -r /var/log logs/system_log + sudo rm -f logs/system_log/README if which journalctl ; then # the journal gives us syslog() and kernel output, so is like # a concatenation of the above.