Skip to content

Commit

Permalink
debug: more frequent logs
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Feb 4, 2025
1 parent 7a7113c commit 54cb85e
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 18 deletions.
3 changes: 0 additions & 3 deletions lumina/scripts/_base/005-virt-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,3 @@ d /var/log/pcp/sa 0775 pcp pcp -
C /usr/local/bin/.swtpm - - - - /usr/bin/swtpm
d /var/lib/swtpm-localca 0750 tss tss - -
EOF

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
3 changes: 0 additions & 3 deletions lumina/scripts/_base/008-install-nordvpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,3 @@ dnf install -y nordvpn
systemctl enable nordvpnd

rm -f /etc/yum.repos.d/nordvpn.repo

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
3 changes: 0 additions & 3 deletions lumina/scripts/_base/011-podman-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,3 @@ set -euox pipefail
dnf install -y \
crun-vm \
podman-machine

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
3 changes: 0 additions & 3 deletions lumina/scripts/_base/013-twingate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ EOF
dnf install -y twingate

rm /etc/yum.repos.d/twingate.repo

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
3 changes: 0 additions & 3 deletions lumina/scripts/_base/999-dryrun-gen-quadlets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@ set -euo pipefail
# To avoid incredibly long outputs, we redirect the output to /dev/null and log only errors
QUADLET_UNIT_DIRS=/etc/containers/systemd /usr/lib/systemd/system-generators/podman-system-generator --dryrun > /dev/null 2>>error.log
QUADLET_UNIT_DIRS=/etc/containers/systemd/users /usr/lib/systemd/system-generators/podman-system-generator --user --dryrun > /dev/null 2>>error.log

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
3 changes: 0 additions & 3 deletions lumina/scripts/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@ sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/rpmfusion-{free,nonfree}{,-upd

# Clear out unsupported directories
rm -rf /tmp/* /var/*

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
6 changes: 6 additions & 0 deletions lumina/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ for script in /tmp/scripts/_base/*.sh; do
echo "::group::===$(basename "$script")==="
bash "$script"
echo "::endgroup::"

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
fi
done

Expand All @@ -18,5 +21,8 @@ for script in /tmp/scripts/_$BASE_IMAGE/*.sh; do
echo "::group::===$(basename "$script")==="
bash "$script"
echo "::endgroup::"

echo "LOOKGING FOR ERRRO.LOG"
ls -la /
fi
done

0 comments on commit 54cb85e

Please sign in to comment.