mirror of
https://github.com/containers/podman.git
synced 2025-12-03 11:49:18 +08:00
vendor latest c/common
Includes init path changes. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
9
vendor/github.com/containers/common/pkg/config/default.go
generated
vendored
9
vendor/github.com/containers/common/pkg/config/default.go
generated
vendored
@@ -30,6 +30,9 @@ const (
|
||||
|
||||
// _defaultImageVolumeMode is a mode to handle built-in image volumes.
|
||||
_defaultImageVolumeMode = _typeBind
|
||||
|
||||
// defaultInitName is the default name of the init binary
|
||||
defaultInitName = "catatonit"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -432,7 +435,6 @@ func defaultEngineConfig() (*EngineConfig, error) {
|
||||
}
|
||||
c.RuntimeSupportsNoCgroups = []string{"crun", "krun"}
|
||||
c.RuntimeSupportsKVM = []string{"kata", "kata-runtime", "kata-qemu", "kata-fc", "krun"}
|
||||
c.InitPath = DefaultInitPath
|
||||
c.NoPivotRoot = false
|
||||
|
||||
c.InfraImage = DefaultInfraImage
|
||||
@@ -540,11 +542,6 @@ func (c *Config) Env() []string {
|
||||
return c.Containers.Env
|
||||
}
|
||||
|
||||
// InitPath returns location where init program added to containers when users specify the --init flag.
|
||||
func (c *Config) InitPath() string {
|
||||
return c.Containers.InitPath
|
||||
}
|
||||
|
||||
// IPCNS returns the default IPC Namespace configuration to run containers with.
|
||||
func (c *Config) IPCNS() string {
|
||||
return c.Containers.IPCNS
|
||||
|
||||
Reference in New Issue
Block a user