mirror of
https://github.com/containers/podman.git
synced 2025-12-02 11:08:36 +08:00
Vendor in latest containers/common
Signed-off-by: Daniel J Walsh <dwalsh@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
@@ -193,7 +193,7 @@ func DefaultConfig() (*Config, error) {
|
||||
ApparmorProfile: DefaultApparmorProfile,
|
||||
BaseHostsFile: "",
|
||||
CgroupNS: cgroupNS,
|
||||
Cgroups: "enabled",
|
||||
Cgroups: getDefaultCgroupsMode(),
|
||||
DefaultCapabilities: DefaultCapabilities,
|
||||
DefaultSysctls: []string{},
|
||||
DefaultUlimits: getDefaultProcessLimits(),
|
||||
@@ -323,6 +323,9 @@ func defaultConfigFromMemory() (*EngineConfig, error) {
|
||||
"/usr/lib/cri-o-runc/sbin/runc",
|
||||
"/run/current-system/sw/bin/runc",
|
||||
},
|
||||
"runj": {
|
||||
"/usr/local/bin/runj",
|
||||
},
|
||||
"kata": {
|
||||
"/usr/bin/kata-runtime",
|
||||
"/usr/sbin/kata-runtime",
|
||||
@@ -384,7 +387,7 @@ func defaultConfigFromMemory() (*EngineConfig, error) {
|
||||
c.SDNotify = false
|
||||
// TODO - ideally we should expose a `type LockType string` along with
|
||||
// constants.
|
||||
c.LockType = "shm"
|
||||
c.LockType = getDefaultLockType()
|
||||
c.MachineEnabled = false
|
||||
c.ChownCopiedFiles = true
|
||||
|
||||
@@ -395,7 +398,7 @@ func defaultConfigFromMemory() (*EngineConfig, error) {
|
||||
|
||||
func defaultTmpDir() (string, error) {
|
||||
if !unshare.IsRootless() {
|
||||
return "/run/libpod", nil
|
||||
return getLibpodTmpDir(), nil
|
||||
}
|
||||
|
||||
runtimeDir, err := util.GetRuntimeDir()
|
||||
|
||||
Reference in New Issue
Block a user