Skip to content

Commit

Permalink
Debug missing hostname when creating chroot
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mars <paul.mars@canonical.com>
  • Loading branch information
upils committed Jul 5, 2024
1 parent d22745f commit 17c0c06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/amd64/classic/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ restore: |
debug: |
df -h
du -h -d 1 /tmp/
ls -alh /tmp/${IMG}/workdir/
ls -alh /tmp/${IMG}/workdir/chroot/
if [ -f /tmp/${IMG}/workdir/chroot/etc/hostname ]; then
cat /tmp/${IMG}/workdir/chroot/etc/hostname
fi
mount -l
if [ -f loop.txt ]; then
cat loop.txt
Expand Down

0 comments on commit 17c0c06

Please sign in to comment.