1
0
vcp-bula-nixfiles/switchconfig/deploy.sh

4 lines
239 B
Bash
Raw Normal View History

2022-07-22 14:45:41 +02:00
#!/usr/bin/env bash
scp $1 root@$1.bula22.de:config; ssh root@$1.bula22.de 'cli -c "configure; load override /var/root/config; show|compare" && echo "Is this okay? Ctrl+D to accept, Ctrl+C to abort." && cat && cli -c "configure; commit"'