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.
This commit is contained in:
Conrad Kramer 2023-05-13 12:24:48 -04:00
parent 8007e88b53
commit 2e91838f46

2
.cargo/config.toml Normal file
View file

@ -0,0 +1,2 @@
[target.'cfg(unix)']
runner = "sudo -E"