diff --git a/devc.sh b/devc.sh index 0a86901..4c55f83 100755 --- a/devc.sh +++ b/devc.sh @@ -49,6 +49,10 @@ param_args() { case "$1" in -gpu) # Enable gpu acceleration. 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. arg "-v /run/user/$UID/bus:/tmp/bus" arg "-e HOST_HOME=$HOME" # Used to translate paths.