mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 10:00:01 +08:00 
			
		
		
		
	 527b3793b8
			
		
	
	527b3793b8
	
	
	
		
			
			For podman machine init, deprecate the --image-path option for --image. --image now accepts the correct image from containers.conf Also, add the ability to specify an OCI image from the --image flag using the docker:// transport. Signed-off-by: Ashley Cui <acui@redhat.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			627 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			627 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package define
 | |
| 
 | |
| import "net/url"
 | |
| 
 | |
| type InitOptions struct {
 | |
| 	CPUS               uint64
 | |
| 	DiskSize           uint64
 | |
| 	IgnitionPath       string
 | |
| 	Image              string
 | |
| 	Volumes            []string
 | |
| 	VolumeDriver       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
 | |
| }
 |