mirror of
https://github.com/containers/podman.git
synced 2025-12-02 02:58:03 +08:00
Add the configuration file used to setup storage to podman info
Users have no idea what storage configuration file is used to setup storage, so adding this to podman info, should make it easier to discover. This requires a revendor of containers/storage Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
5
vendor/github.com/containers/storage/store.go
generated
vendored
5
vendor/github.com/containers/storage/store.go
generated
vendored
@@ -2992,7 +2992,8 @@ func copyStringInterfaceMap(m map[string]interface{}) map[string]interface{} {
|
||||
return ret
|
||||
}
|
||||
|
||||
const defaultConfigFile = "/etc/containers/storage.conf"
|
||||
// DefaultConfigFile path to the system wide storage.conf file
|
||||
const DefaultConfigFile = "/etc/containers/storage.conf"
|
||||
|
||||
// ThinpoolOptionsConfig represents the "storage.options.thinpool"
|
||||
// TOML config table.
|
||||
@@ -3237,7 +3238,7 @@ func init() {
|
||||
DefaultStoreOptions.GraphRoot = "/var/lib/containers/storage"
|
||||
DefaultStoreOptions.GraphDriverName = ""
|
||||
|
||||
ReloadConfigurationFile(defaultConfigFile, &DefaultStoreOptions)
|
||||
ReloadConfigurationFile(DefaultConfigFile, &DefaultStoreOptions)
|
||||
}
|
||||
|
||||
func GetDefaultMountOptions() ([]string, error) {
|
||||
|
||||
Reference in New Issue
Block a user