Jafner.net/homelab/wizard/config/vyos.env
Joey Hafner 1ff6a0f783
Init Vyos config with new config management strategy
- Export vyos active configuration with `show configuration json`
- Replace secrets (encrypted-password, OTP key) with variables from secrets.env
- Replace dynamic values (public IP) with variables from vyos.env
2024-09-04 14:06:31 -07:00

2 lines
42 B
Bash

#!/bin/bash
PUBLIC_IP=$(curl ipinfo.io/ip)