suppress soup update output for cleaner console

This commit is contained in:
Jason Ertel
2024-04-03 10:28:43 -04:00
parent 5f4a0fdfad
commit c4767bfdc8

View File

@@ -229,7 +229,7 @@ check_local_mods() {
# {% endraw %} # {% endraw %}
check_pillar_items() { check_pillar_items() {
local pillar_output=$(salt-call pillar.items --out=json) local pillar_output=$(salt-call pillar.items -lerror --out=json)
cond=$(jq '.local | has("_errors")' <<< "$pillar_output") cond=$(jq '.local | has("_errors")' <<< "$pillar_output")
if [[ "$cond" == "true" ]]; then if [[ "$cond" == "true" ]]; then
@@ -892,7 +892,7 @@ main() {
echo "" echo ""
require_manager require_manager
check_pillar_items > /dev/null check_pillar_items
echo "Checking to see if this is an airgap install." echo "Checking to see if this is an airgap install."
echo "" echo ""