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:
parent
8007e88b53
commit
2e91838f46
1 changed files with 2 additions and 0 deletions
2
.cargo/config.toml
Normal file
2
.cargo/config.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[target.'cfg(unix)']
|
||||||
|
runner = "sudo -E"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue