vm-start/ethernet_restreint/enter_ethernet_restreint.sh

9 lines
150 B
Bash
Raw Normal View History

2024-02-14 00:04:11 +01:00
#!/bin/bash
#
#echo $$ > /tmp/pid
2024-02-19 18:38:08 +01:00
#exec unshare --user --map-root-user --net --mount
2024-02-14 00:04:11 +01:00
#slirp4netns
rootlesskit --net=slirp4netns --copy-up=/etc bash