Move printing configuration to script
All checks were successful
Deploy to Wizard / Deploy (push) Successful in 29s

This commit is contained in:
Joey Hafner 2024-02-14 13:09:43 -08:00
parent 1e2dfe8061
commit 550baba73a
2 changed files with 8 additions and 2 deletions

View File

@ -42,5 +42,5 @@ jobs:
username: ${{ vars.SSH_USERNAME_WIZARD }}
key: ${{ secrets.SSH_KEY_DEPLOY_TO_WIZARD }}
script: |
declare -p
printenv
cd ~/homelab/wizard/config
/bin/vbash show-config.sh

View File

@ -0,0 +1,6 @@
#!/bin/vbash
source /opt/vyatta/etc/functions/script-template
run show configuration all | strip-private
exit