mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-18 07:34:45 +00:00
Update
Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
This commit is contained in:
parent
abee591822
commit
588b1f5d49
5 changed files with 20 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
12
etc/systemd/nspawn/Fedora34.nspawn
Normal file
12
etc/systemd/nspawn/Fedora34.nspawn
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue