1ff6a0f783
- 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
2 lines
42 B
Bash
2 lines
42 B
Bash
#!/bin/bash
|
|
PUBLIC_IP=$(curl ipinfo.io/ip) |