Fix output
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2022-11-07 22:45:06 +13:00
parent 0f3221ac3e
commit 2652ce3653

View File

@@ -87,9 +87,12 @@ echo -e "
{% if ansible_virtualization_type != "lxc" %}
$COLOR_COLUMN- Disk space$RESET_COLORS..........: "
for FS in ${FILESYSTEMS}; do
echo -e " $COLOR_COLUMN- ..........$RESET_COLORS..........: $COLOR_VALUE `df -H ${FS} | grep -v 'Filesystem' | grep -v '^[[:space:]]*$' | awk '{print $6 " " $4}'` remaining $RESET_COLORS"
echo -e " $COLOR_COLUMN- ..........$RESET_COLORS..........: $COLOR_VALUE `df -H ${FS} | grep -v 'Filesystem' | grep -v '^[[:space:]]*$' | awk '{print $6 \" \" $4}'` remaining $RESET_COLORS"
done
{% endif %}
echo -e "
===========================================================================
`/usr/bin/env cat /etc/motd`
"
"
if [ -f /etc/motd ]; then
`/usr/bin/env cat /etc/motd`
fi