forked from Job79/devcontainer
chore: remve -kvm and -usb
Better to just use the podman flags, they are very similair
This commit is contained in:
4
devc.sh
4
devc.sh
@@ -49,10 +49,6 @@ param_args() {
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
-gpu) # Enable gpu acceleration.
|
-gpu) # Enable gpu acceleration.
|
||||||
arg "--device /dev/dri" ;;
|
arg "--device /dev/dri" ;;
|
||||||
-kvm) # Enable KVM.
|
|
||||||
arg "--device /dev/kvm" ;;
|
|
||||||
-usb) # Enable USB access.
|
|
||||||
arg "--device /dev/bus/usb" ;;
|
|
||||||
-host-spawn) # Enable spawning host commands from inside the container using host-spawn.
|
-host-spawn) # Enable spawning host commands from inside the container using host-spawn.
|
||||||
arg "-v /run/user/$UID/bus:/tmp/bus"
|
arg "-v /run/user/$UID/bus:/tmp/bus"
|
||||||
arg "-e HOST_HOME=$HOME" # Used to translate paths.
|
arg "-e HOST_HOME=$HOME" # Used to translate paths.
|
||||||
|
|||||||
Reference in New Issue
Block a user