We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3687b09 commit 17f979fCopy full SHA for 17f979f
internal/orchestrator/provision.go
@@ -335,6 +335,16 @@ func generateMainComposeFile(
335
})
336
}
337
338
+ if devices.hasSoundDevice {
339
+ // If we are adding sound devices, mount also /dev/snd/by-id if it exists to allow access to by-id links
340
+ if paths.New("/dev/snd/by-id").Exist() {
341
+ volumes = append(volumes, volume{
342
+ Type: "bind",
343
+ Source: "/dev/snd/by-id",
344
+ Target: "/dev/snd/by-id",
345
+ })
346
+ }
347
348
349
volumes = addLedControl(volumes)
350
0 commit comments