diff options
| author | sommerfeld <sommerfeld@sommerfeld.dev> | 2026-09-22 14:49:06 +0100 |
|---|---|---|
| committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2026-09-22 14:49:06 +0100 |
| commit | 04caeee050e4f1afdc429d9209f12a027b150056 (patch) | |
| tree | 9ab2e51ada7e27487b483c498b8537530498c0ee /justfile | |
| parent | 92c29300d7363b02807f5b5c1aa48eeef5e18bb2 (diff) | |
| download | dotfiles-04caeee050e4f1afdc429d9209f12a027b150056.tar.gz dotfiles-04caeee050e4f1afdc429d9209f12a027b150056.tar.bz2 dotfiles-04caeee050e4f1afdc429d9209f12a027b150056.zip | |
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -100,6 +100,17 @@ _require-canonical: canonical-system: _require-canonical @bash scripts/canonical-system.sh +# Import only the secondary credentials; do not connect the VPN. +canonical-vpn-install archive="tmp/canonical-vpn-credentials.zip" endpoint="uk": _require-canonical + @python3 -m scripts.canonical_vpn install {{ quote(archive) }} --endpoint {{ quote(endpoint) }} + +# Connect the secondary VPN with full or split routing. +canonical-vpn-up mode="split": _require-canonical + @python3 -m scripts.canonical_vpn up {{ quote(mode) }} + +canonical-vpn-down: _require-canonical + @python3 -m scripts.canonical_vpn down + # Prepare bond profiles without loading them or changing the active network. [positional-arguments] canonical-bond-prepare +profiles: _require-canonical |
