31 lines
884 B
Go
31 lines
884 B
Go
// +build !linux,!windows
|
|
|
|
package config
|
|
|
|
// 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 "cni" for non-Linux OSes (to better support `podman-machine` usecases).
|
|
func getDefaultRootlessNetwork() string {
|
|
return "cni"
|
|
}
|
|
|
|
// isCgroup2UnifiedMode returns whether we are running in cgroup2 mode.
|
|
func isCgroup2UnifiedMode() (isUnified bool, isUnifiedErr error) {
|
|
return false, nil
|
|
}
|
|
|
|
// getDefaultProcessLimits returns the nofile and nproc for the current process in ulimits format
|
|
func getDefaultProcessLimits() []string {
|
|
return []string{}
|
|
}
|