NetVM: 1:1 profile:node mapping — hashed iface names, netvm-enter + netvm-chrome launcher
This commit is contained in:
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# runs as root inside the netns + a private mount ns; drops privs, execs cmd.
|
||||
set -euo pipefail
|
||||
mount --bind "$NETVM_RESOLV" /etc/resolv.conf
|
||||
exec setpriv --reuid="$NETVM_UID" --regid="$NETVM_GID" --clear-groups \
|
||||
env HOME="$NETVM_HOME" "$@"
|
||||
Reference in New Issue
Block a user