Introduce Windows WSL implementation of podman machine

[NO NEW TESTS NEEDED] for now

Signed-off-by: Jason Greene <jason.greene@redhat.com>
This commit is contained in:
Jason T. Greene
2021-11-12 00:10:58 -06:00
committed by Jason T. Greene
parent 73a54ea54d
commit 803defbe50
35 changed files with 1943 additions and 181 deletions

View File

@@ -13,6 +13,17 @@ const (
oldMaxSize = uint64(1048576)
)
// getDefaultMachineImage returns the default machine image stream
// On Linux/Mac, this returns the FCOS stream
func getDefaultMachineImage() string {
return "testing"
}
// getDefaultMachineUser returns the user to use for rootless podman
func getDefaultMachineUser() string {
return "core"
}
// getDefaultRootlessNetwork returns the default rootless network configuration.
// It is "slirp4netns" for Linux.
func getDefaultRootlessNetwork() string {