-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the configuration file used to setup storage to podman info #2078
Conversation
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
// StorageConfigFile returns the path to the storage config file used | ||
func StorageConfigFile() string { | ||
if rootless.IsRootless() { | ||
return filepath.Join(os.Getenv("HOME"), ".config/containers/storage.conf") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make libpod use this function to decide what path to use when rootless? I don't want to have this change in one place but not the other
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is using this function. just above.
LGTM (restarted the CI hiccups) |
☔ The latest upstream changes (presumably #2090) made this pull request unmergeable. Please resolve the merge conflicts. |
LGTM |
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 <[email protected]>
@rh-atomic-bot r=giuseppe |
📌 Commit 6ffc24c has been approved by |
@rh-atomic-bot retry |
/lgtm |
bo, retest this please |
bot, retest this please |
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.
Signed-off-by: Daniel J Walsh [email protected]