mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-01-08 01:12:33 +00:00
Have update.log only present one update worth of log
This commit is contained in:
@@ -239,7 +239,7 @@ if [ -r "/tmp/xcat/mainservice.pid" ]; then
|
||||
fi
|
||||
|
||||
mkdir -p /var/log/xcat
|
||||
date >> /var/log/xcat/upgrade.log
|
||||
date > /var/log/xcat/upgrade.log
|
||||
$RPM_INSTALL_PREFIX0/sbin/xcatconfig -u -V >> /var/log/xcat/upgrade.log 2>&1
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user