forked from containers/storage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request containers#1221 from dfr/storage-conf
Change default location for storage.conf to... Signed-off-by: Daniel J Walsh <[email protected]>
- Loading branch information
Showing
6 changed files
with
70 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package types | ||
|
||
const ( | ||
// these are default path for run and graph root for rootful users | ||
// for rootless path is constructed via getRootlessStorageOpts | ||
defaultRunRoot string = "/run/containers/storage" | ||
defaultGraphRoot string = "/var/lib/containers/storage" | ||
) | ||
|
||
// defaultConfigFile path to the system wide storage.conf file | ||
var ( | ||
defaultConfigFile = "/usr/share/containers/storage.conf" | ||
defaultOverrideConfigFile = "/etc/containers/storage.conf" | ||
defaultConfigFileSet = false | ||
// DefaultStoreOptions is a reasonable default set of options. | ||
defaultStoreOptions StoreOptions | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package types | ||
|
||
const ( | ||
// these are default path for run and graph root for rootful users | ||
// for rootless path is constructed via getRootlessStorageOpts | ||
defaultRunRoot string = "/var/run/containers/storage" | ||
defaultGraphRoot string = "/var/db/containers/storage" | ||
) | ||
|
||
// defaultConfigFile path to the system wide storage.conf file | ||
var ( | ||
defaultConfigFile = "/usr/local/share/containers/storage.conf" | ||
defaultOverrideConfigFile = "/usr/local/etc/containers/storage.conf" | ||
defaultConfigFileSet = false | ||
// DefaultStoreOptions is a reasonable default set of options. | ||
defaultStoreOptions StoreOptions | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package types | ||
|
||
const ( | ||
// these are default path for run and graph root for rootful users | ||
// for rootless path is constructed via getRootlessStorageOpts | ||
defaultRunRoot string = "/run/containers/storage" | ||
defaultGraphRoot string = "/var/lib/containers/storage" | ||
) | ||
|
||
// defaultConfigFile path to the system wide storage.conf file | ||
var ( | ||
defaultConfigFile = "/usr/share/containers/storage.conf" | ||
defaultOverrideConfigFile = "/etc/containers/storage.conf" | ||
defaultConfigFileSet = false | ||
// DefaultStoreOptions is a reasonable default set of options. | ||
defaultStoreOptions StoreOptions | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package types | ||
|
||
const ( | ||
// these are default path for run and graph root for rootful users | ||
// for rootless path is constructed via getRootlessStorageOpts | ||
defaultRunRoot string = "/run/containers/storage" | ||
defaultGraphRoot string = "/var/lib/containers/storage" | ||
) | ||
|
||
// defaultConfigFile path to the system wide storage.conf file | ||
var ( | ||
defaultConfigFile = "/usr/share/containers/storage.conf" | ||
defaultOverrideConfigFile = "/etc/containers/storage.conf" | ||
defaultConfigFileSet = false | ||
// DefaultStoreOptions is a reasonable default set of options. | ||
defaultStoreOptions StoreOptions | ||
) |