pve: better status text

This commit is contained in:
2026-06-08 00:21:52 +03:00
parent 56ebe214d8
commit 674a3bd805
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ alias rup="restic -q -r local:/root/jc/restic/"$HOSTNAME" -p /root/jc/restic/pas
#TODO: restic -p ~/jc/restic/passwd -r local:"??no more nas??/restic/$HOSTNAME" init
function waitNoRunning {
echo '- - - - - - - - Waiting VMs to migrate or shutdown 200s - - - - - - - -'
echo '- - - - - Waiting for CEPH health + VMs to migrate or shutdown 200s - - - - -'
while true; do
if /root/admin_scripts/confirm_norunning.sh "$@" >/dev/null; then
return
@@ -33,7 +33,7 @@ function upg {
fi
if ! timeout 200 bash -c waitNoRunning 0; then
tgmsg 'ERROR: upg: running VMs before upgrade'
tgmsg 'ERROR: upg: CEPH unhealthy or running VMs before upgrade'
return 1
fi
@@ -100,7 +100,7 @@ function on {
_on "$HOSTNAME"
fi
echo 're-enable resource affinities: ron'
echo 'PENDING: to re-enable resource affinities: $ ron'
}
alias h="echo 'avail cmds: off on roff ron | upg upgr | updl localprogress'"