--quiet
This commit is contained in:
parent
80f1cd121e
commit
363fdd90e9
1 changed files with 2 additions and 2 deletions
4
x
4
x
|
@ -72,8 +72,8 @@ while read -r FQDN SSH_KEY_PATH; do
|
||||||
ssh -n -i "$SSH_KEY_PATH" "$FQDN" "/export show-sensitive" > "config_${FQDN}.rsc"
|
ssh -n -i "$SSH_KEY_PATH" "$FQDN" "/export show-sensitive" > "config_${FQDN}.rsc"
|
||||||
# entferne Datumszeile
|
# entferne Datumszeile
|
||||||
sed -i -r '/^# [0-9]{4}-[0-9]{2}-[0-9]{2}\s[0-9]{2}\:[0-9]{2}\:[0-9]{2}\sby\sRouterOS\s[0-9\s\.]+/d' "config_${FQDN}.rsc"
|
sed -i -r '/^# [0-9]{4}-[0-9]{2}-[0-9]{2}\s[0-9]{2}\:[0-9]{2}\:[0-9]{2}\sby\sRouterOS\s[0-9\s\.]+/d' "config_${FQDN}.rsc"
|
||||||
git add "config_${FQDN}.rsc"
|
git add "config_${FQDN}.rsc" --quiet
|
||||||
git commit -m "update config_${FQDN}"
|
git commit -m "update config_${FQDN}" --quiet
|
||||||
done <<< "$DEVICES"
|
done <<< "$DEVICES"
|
||||||
|
|
||||||
git push
|
git push
|
||||||
|
|
Loading…
Reference in a new issue