mirror of
https://github.com/containers/podman.git
synced 2025-11-15 02:29:16 +08:00
Vendor in latest containers/common
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
8
vendor/github.com/containers/common/pkg/config/config_windows.go
generated
vendored
8
vendor/github.com/containers/common/pkg/config/config_windows.go
generated
vendored
@@ -2,6 +2,14 @@ package config
|
||||
|
||||
import "os"
|
||||
|
||||
const (
|
||||
// OverrideContainersConfig holds the default config path overridden by the root user
|
||||
OverrideContainersConfig = "/etc/" + _configPath
|
||||
|
||||
// DefaultContainersConfig holds the default containers config path
|
||||
DefaultContainersConfig = "/usr/share/" + _configPath
|
||||
)
|
||||
|
||||
// podman remote clients on windows cannot use unshare.isRootless() to determine the configuration file locations.
|
||||
func customConfigFile() (string, error) {
|
||||
if path, found := os.LookupEnv("CONTAINERS_CONF"); found {
|
||||
|
||||
Reference in New Issue
Block a user