mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update
This commit is contained in:
parent
711ed4f521
commit
601180cbdd
9 changed files with 73 additions and 26 deletions
|
|
@ -3,15 +3,9 @@ Boot=true
|
|||
PrivateUsers=false
|
||||
|
||||
[Files]
|
||||
Bind=/dev/dri
|
||||
Bind=/dev/shm
|
||||
Bind=/dev/snd
|
||||
Bind=/dev/nvidia0
|
||||
Bind=/dev/nvidiactl
|
||||
Bind=/dev/nvidia-modeset
|
||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
BindReadOnly=/tmp/.X11-unix
|
||||
|
||||
[Network]
|
||||
VirtualEthernet=true
|
||||
VirtualEthernet=false
|
||||
|
|
|
|||
17
etc/systemd/nspawn/ArchLinux.nspawn.bk
Normal file
17
etc/systemd/nspawn/ArchLinux.nspawn.bk
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[Exec]
|
||||
Boot=true
|
||||
PrivateUsers=false
|
||||
|
||||
[Files]
|
||||
Bind=/dev/dri
|
||||
Bind=/dev/shm
|
||||
Bind=/dev/snd
|
||||
Bind=/dev/nvidia0
|
||||
Bind=/dev/nvidiactl
|
||||
Bind=/dev/nvidia-modeset
|
||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
BindReadOnly=/tmp/.X11-unix
|
||||
|
||||
[Network]
|
||||
VirtualEthernet=true
|
||||
|
|
@ -4,14 +4,9 @@ Capability=CAP_NET_ADMIN
|
|||
PrivateUsers=false
|
||||
|
||||
[Files]
|
||||
Bind=/dev/dri
|
||||
Bind=/dev/shm
|
||||
Bind=/dev/snd
|
||||
Bind=/dev/nvidia0
|
||||
Bind=/dev/nvidiactl
|
||||
Bind=/dev/nvidia-modeset
|
||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||
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
|
||||
|
||||
[Network]
|
||||
|
|
|
|||
|
|
@ -3,15 +3,9 @@ Boot=true
|
|||
PrivateUsers=pick
|
||||
|
||||
[Files]
|
||||
Bind=/dev/dri
|
||||
Bind=/dev/shm
|
||||
Bind=/dev/snd
|
||||
Bind=/dev/nvidia0
|
||||
Bind=/dev/nvidiactl
|
||||
Bind=/dev/nvidia-modeset
|
||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
BindReadOnly=/tmp/.X11-unix
|
||||
|
||||
[Network]
|
||||
VirtualEthernet=true
|
||||
VirtualEthernet=false
|
||||
|
|
|
|||
17
etc/systemd/nspawn/Debian.nspawn.bk
Normal file
17
etc/systemd/nspawn/Debian.nspawn.bk
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[Exec]
|
||||
Boot=true
|
||||
PrivateUsers=pick
|
||||
|
||||
[Files]
|
||||
Bind=/dev/dri
|
||||
Bind=/dev/shm
|
||||
Bind=/dev/snd
|
||||
Bind=/dev/nvidia0
|
||||
Bind=/dev/nvidiactl
|
||||
Bind=/dev/nvidia-modeset
|
||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
BindReadOnly=/tmp/.X11-unix
|
||||
|
||||
[Network]
|
||||
VirtualEthernet=true
|
||||
|
|
@ -4,12 +4,6 @@ Capability=CAP_NET_ADMIN
|
|||
PrivateUsers=false
|
||||
|
||||
[Files]
|
||||
Bind=/dev/dri
|
||||
Bind=/dev/shm
|
||||
Bind=/dev/snd
|
||||
Bind=/dev/nvidia0
|
||||
Bind=/dev/nvidiactl
|
||||
Bind=/dev/nvidia-modeset
|
||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
BindReadOnly=/tmp/.X11-unix
|
||||
|
|
|
|||
18
etc/systemd/nspawn/KaliLinux.nspawn.bk
Normal file
18
etc/systemd/nspawn/KaliLinux.nspawn.bk
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[Exec]
|
||||
Boot=true
|
||||
Capability=CAP_NET_ADMIN
|
||||
PrivateUsers=false
|
||||
|
||||
[Files]
|
||||
Bind=/dev/dri
|
||||
Bind=/dev/shm
|
||||
Bind=/dev/snd
|
||||
Bind=/dev/nvidia0
|
||||
Bind=/dev/nvidiactl
|
||||
Bind=/dev/nvidia-modeset
|
||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
BindReadOnly=/tmp/.X11-unix
|
||||
|
||||
[Network]
|
||||
VirtualEthernet=false
|
||||
18
etc/systemd/nspawn/ParrotSec.nspawn.bk
Normal file
18
etc/systemd/nspawn/ParrotSec.nspawn.bk
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[Exec]
|
||||
Boot=true
|
||||
Capability=CAP_NET_ADMIN
|
||||
PrivateUsers=false
|
||||
|
||||
[Files]
|
||||
Bind=/dev/dri
|
||||
Bind=/dev/shm
|
||||
Bind=/dev/snd
|
||||
Bind=/dev/nvidia0
|
||||
Bind=/dev/nvidiactl
|
||||
Bind=/dev/nvidia-modeset
|
||||
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
|
||||
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
|
||||
BindReadOnly=/tmp/.X11-unix
|
||||
|
||||
[Network]
|
||||
VirtualEthernet=false
|
||||
Loading…
Add table
Add a link
Reference in a new issue