From 9fb2990d735b3b0c52944222c7ecf755bb0fa651 Mon Sep 17 00:00:00 2001 From: Antigravity Agent Date: Sat, 3 Oct 2026 00:33:37 -0400 Subject: [PATCH] NetVM: fix wg setconf to take config filename (not stdin) --- bin/netvm-node-up.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/netvm-node-up.sh b/bin/netvm-node-up.sh index b169b81..95d93bb 100755 --- a/bin/netvm-node-up.sh +++ b/bin/netvm-node-up.sh @@ -12,7 +12,7 @@ chmod 600 "$CONF" ip netns add "$NETNS" 2>/dev/null || true ip link add "wg-${NODE}" type wireguard 2>/dev/null || true ip link set "wg-${NODE}" netns "$NETNS" -ip netns exec "$NETNS" wg setconf "wg-${NODE}" < "$CONF" +ip netns exec "$NETNS" wg setconf "wg-${NODE}" "$CONF" ip netns exec "$NETNS" ip link set lo up ip netns exec "$NETNS" ip link set "wg-${NODE}" up # NOTE: addresses/routes come from the generated config (wgcf carries them).