mirror of
https://github.com/containers/podman.git
synced 2025-11-03 15:56:51 +08:00
Update to use new common machine API
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
This commit is contained in:
25
vendor/github.com/containers/common/pkg/config/config_freebsd.go
generated
vendored
Normal file
25
vendor/github.com/containers/common/pkg/config/config_freebsd.go
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"os"
|
||||
)
|
||||
|
||||
// podman remote clients on freebsd cannot use unshare.isRootless() to determine the configuration file locations.
|
||||
func customConfigFile() (string, error) {
|
||||
if path, found := os.LookupEnv("CONTAINERS_CONF"); found {
|
||||
return path, nil
|
||||
}
|
||||
return rootlessConfigPath()
|
||||
}
|
||||
|
||||
func ifRootlessConfigPath() (string, error) {
|
||||
return rootlessConfigPath()
|
||||
}
|
||||
|
||||
var defaultHelperBinariesDir = []string{
|
||||
"/usr/local/bin",
|
||||
"/usr/local/libexec/podman",
|
||||
"/usr/local/lib/podman",
|
||||
"/usr/local/libexec/podman",
|
||||
"/usr/local/lib/podman",
|
||||
}
|
||||
Reference in New Issue
Block a user