Add 'examples/etc/systemd-nspawn@sandbox.service.d/override.conf'

This commit is contained in:
Jakub Filo 2021-09-06 23:16:36 +00:00
parent 4b7a3d27d2
commit a7ba13b9b2

View File

@ -0,0 +1,13 @@
[Service]
#DeviceAllow=/dev/dri rw
#DeviceAllow=/dev/shm rw
#ExecStart=
#ExecStart=/usr/bin/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --machine=%I --property=CPUQuota=10% --setenv=DISPLAY=unix$DISPLAY --bind=/tmp/.X11-unix:/tmp/.X11-unix --bind /run/user/1000/pulse:/run/pulse --bind /var/lib/dbus:/var/lib/dbus
DeviceAllow=/dev/dri rw
DeviceAllow=/dev/shm rw
DeviceAllow=char-usb_device rwm
DeviceAllow=char-input rwm
DeviceAllow=char-alsa rwm
Environment=SYSTEMD_NSPAWN_USE_CGNS=0
ExecStart=
ExecStart=/usr/bin/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --machine=%I