From 2e91838f461c0cf15a8fe75c48a54ca6e1c3048d Mon Sep 17 00:00:00 2001 From: Conrad Kramer Date: Sat, 13 May 2023 12:24:48 -0400 Subject: [PATCH] Run burrow as root on Unix platform This is needed because you need to be root in order to create a tun interface on macOS, and you need CAP_NET_ADMIN on Linux. --- .cargo/config.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..956cc38 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[target.'cfg(unix)'] +runner = "sudo -E"