Skip to content

Commit

Permalink
opensuse: tail the zypper log instead of cat
Browse files Browse the repository at this point in the history
cat'ing the zypper log on fail gets to be overwhelming. The last 300
lines should be sufficient for most debugging.

Signed-off-by: Blaine Gardner <[email protected]>
  • Loading branch information
BlaineEXE committed Apr 9, 2018
1 parent 6c64074 commit f3dc37c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceph-releases/ALL/opensuse/__DOCKERFILE_INSTALL__
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
__PACKAGES__ && \
__ZYPPER__ info __PACKAGES__ && \
__REMOVE_REPOS__ ) || \
( retval=$? && cat /var/log/zypper.log && exit $retval )
( retval=$? && tail --lines=300 /var/log/zypper.log && exit $retval )

0 comments on commit f3dc37c

Please sign in to comment.