Add step to print current configuration to logs
Some checks failed
Deploy to Wizard / Deploy (push) Failing after 28s

De-secretize pubkeys
This commit is contained in:
Joey Hafner 2024-02-14 11:47:23 -08:00
parent 7ef204853d
commit 3dcee028ce
2 changed files with 11 additions and 3 deletions

View File

@ -35,3 +35,11 @@ jobs:
script: |
cd ~/homelab/wizard/config
/bin/vbash configure.sh
- name: Show configuration
uses: appleboy/ssh-action@master
with:
host: ${{ vars.SSH_HOST_IP_WIZARD }} # this is a LAN IP
username: ${{ vars.SSH_USERNAME_WIZARD }}
key: ${{ secrets.SSH_KEY_DEPLOY_TO_WIZARD }}
script: |
show configuration

View File

@ -18,9 +18,9 @@ set system login user vyos authentication otp key $SYSTEM_LOGIN_USER_VYOS_AUTHEN
set system login user vyos authentication otp rate-limit '3'
set system login user vyos authentication otp rate-time '30'
set system login user vyos authentication otp window-size '3'
set system login user vyos authentication public-keys deploy@gitea.jafner.tools key $SYSTEM_LOGIN_USER_VYOS_AUTHENTICATION_PUBLICKEYS_deploygiteajafnertools_KEY
set system login user vyos authentication public-keys deploy@gitea.jafner.tools key 'AAAAC3NzaC1lZDI1NTE5AAAAIBzQU/ZbpLXgAXUImNKNfkyEkggRfgVDCozOVby/CLMR'
set system login user vyos authentication public-keys deploy@gitea.jafner.tools type 'ssh-ed25519'
set system login user vyos authentication public-keys jafner425@gmail.com key $SYSTEM_LOGIN_USER_VYOS_AUTHENTICATION_PUBLICKEYS_jafner425gmailcom_KEY
set system login user vyos authentication public-keys jafner425@gmail.com key 'AAAAC3NzaC1lZDI1NTE5AAAAIMbzncsWNWxoDSqeva/ZoGHv32A0ggUMWfzx2Gz6Kmkk'
set system login user vyos authentication public-keys jafner425@gmail.com type 'ssh-ed25519'
set system name-server '192.168.1.32'
set system name-server 'eth5'