mirror of
https://github.com/containers/podman.git
synced 2025-08-23 17:22:30 +08:00

Allow the user to provide an Ansible playbook file on init which will then be run on boot. Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me> Signed-off-by: Brent Baude <bbaude@redhat.com>
24 lines
627 B
Go
24 lines
627 B
Go
package define
|
|
|
|
import "net/url"
|
|
|
|
type InitOptions struct {
|
|
PlaybookPath string
|
|
CPUS uint64
|
|
DiskSize uint64
|
|
IgnitionPath string
|
|
Image string
|
|
Volumes []string
|
|
IsDefault bool
|
|
Memory uint64
|
|
Name string
|
|
TimeZone string
|
|
URI url.URL
|
|
Username string
|
|
ReExec bool
|
|
Rootful bool
|
|
UID string // uid of the user that called machine
|
|
UserModeNetworking *bool // nil = use backend/system default, false = disable, true = enable
|
|
USBs []string
|
|
}
|