From 04caeee050e4f1afdc429d9209f12a027b150056 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 22 Sep 2026 14:49:06 +0100 Subject: Add secondary Canonical VPN setup and routing controls --- justfile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'justfile') diff --git a/justfile b/justfile index ea69469..daeb4f0 100644 --- a/justfile +++ b/justfile @@ -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 -- cgit v1.3.1