Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
This commit is contained in:
Edu4rdSHL 2021-05-13 16:53:44 -05:00
parent abee591822
commit 588b1f5d49
No known key found for this signature in database
GPG key ID: 3A574A4009F553E5
5 changed files with 20 additions and 8 deletions

View file

@ -1,5 +1,5 @@
export DISPLAY=":0.0"
export LC_ALL="en_US.UTF-8"
export PULSE_SERVER="/tmp/pulse_server"
export PULSE_SERVER="unix:/tmp/pa_containers.socket"
# Fix Qt4 GUIs ("invalid Pixmap or Window parameter")
export QT_X11_NO_MITSHM=1

View file

@ -1,12 +1,12 @@
[Exec]
Boot=true
Capability=CAP_NET_ADMIN
PrivateUsers=false
Capability=CAP_NET_ADMIN CAP_NET_RAW
PrivateUsers=pick
[Files]
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
Bind=/proc/sys/net/ipv4/ip_forward
BindReadOnly=/tmp/.X11-unix
BindReadOnly=/etc/systemd/nspawn/10-macvlan.network:/etc/systemd/network/10-macvlan.network
[Network]
VirtualEthernet=false
MACVLAN=bond1

View file

@ -6,7 +6,6 @@ PrivateUsers=pick
[Files]
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix
BindReadOnly=/etc/systemd/nspawn/10-macvlan.network:/etc/systemd/network/10-macvlan.network
[Network]
MACVLAN=bond1

View file

@ -0,0 +1,12 @@
[Exec]
Boot=true
Capability=CAP_NET_ADMIN
PrivateUsers=pick
[Files]
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix
BindReadOnly=/etc/systemd/nspawn/10-macvlan.network:/etc/systemd/network/10-macvlan.network
[Network]
MACVLAN=bond1

View file

@ -1,11 +1,12 @@
[Exec]
Boot=true
Capability=CAP_NET_ADMIN
PrivateUsers=false
PrivateUsers=pick
[Files]
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix
BindReadOnly=/etc/systemd/nspawn/10-macvlan.network:/etc/systemd/network/10-macvlan.network
[Network]
VirtualEthernet=false
MACVLAN=bond1