mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00

Sets up USB passthrough for machine. Additionally moves `SetOptions` out from `pkg/machine/config.go` to its own file in `pkg/machine/define/setopts.go`. [NO NEW TESTS NEEDED] Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
13 lines
273 B
Go
13 lines
273 B
Go
package define
|
|
|
|
import "github.com/containers/common/pkg/strongunits"
|
|
|
|
type SetOptions struct {
|
|
CPUs *uint64
|
|
DiskSize *strongunits.GiB
|
|
Memory *uint64
|
|
Rootful *bool
|
|
UserModeNetworking *bool
|
|
USBs *[]string
|
|
}
|