2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-01-08 17:32:30 +00:00

Highlight mknb failure on upgrade

If for example the filesystem fills, a more obvious message
should be presented.
This commit is contained in:
Jarrod Johnson
2019-02-28 10:02:12 -05:00
parent 58dab1f15e
commit cc8aec5ace

View File

@@ -241,6 +241,8 @@ fi
mkdir -p /var/log/xcat
date >> /var/log/xcat/upgrade.log
$RPM_INSTALL_PREFIX0/sbin/xcatconfig -u -V >> /var/log/xcat/upgrade.log
if grep "Failed to copy /opt/xcat/share/xcat/netboot/genesis/x86_64/fs" /var/log/xcat/upgrade.log; then
echo 'mknb failed to complete successfully'
fi
exit 0