further improvements

This commit is contained in:
Jason Ertel
2023-01-20 11:23:13 -05:00
parent 1e4f9c9f26
commit c3384d8381
3 changed files with 11 additions and 20 deletions

View File

@@ -2380,3 +2380,11 @@ wait_for_file() {
wait_for_salt_minion() {
retry 60 5 "journalctl -u salt-minion.service | grep 'Minion is ready to receive requests'" >> "$setup_log" 2>&1 || exit 1
}
verify_setup() {
if logCmd ./so-verify "$setup_type"; then
whiptail_setup_complete
else
whiptail_setup_failed
fi
}