ibcli: use /var/cache/image-builder/store as default for --store
This commit follows a suggestion from Ondrej to add a better default for `--store`: /var/cache/image-builder/store. This is nice as it will give users automatic caching and makes the container also nicer.
This commit is contained in:
parent
083c220f0a
commit
f89342a1bd
3 changed files with 4 additions and 4 deletions
|
|
@ -158,7 +158,8 @@ operating sytsems like centos and RHEL with easy customizations support.`,
|
|||
Args: cobra.RangeArgs(1, 2),
|
||||
}
|
||||
buildCmd.Flags().AddFlagSet(manifestCmd.Flags())
|
||||
buildCmd.Flags().String("store", ".store", `osbuild store directory to cache intermediata build artifacts"`)
|
||||
// XXX: add --rpmmd cache too and put under /var/cache/image-builder/dnf
|
||||
buildCmd.Flags().String("store", "/var/cache/image-builder/store", `osbuild store directory to cache intermediata build artifacts"`)
|
||||
rootCmd.AddCommand(buildCmd)
|
||||
|
||||
return rootCmd.Execute()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue