overlay build allow output to given dir
This commit is contained in:
@@ -13,12 +13,16 @@ var (
|
||||
BuildHost bool
|
||||
BuildNodes bool
|
||||
OverlayName string
|
||||
OverlayDir string
|
||||
)
|
||||
|
||||
func init() {
|
||||
baseCmd.PersistentFlags().BoolVarP(&BuildHost, "host", "H", false, "Build overlays only for the host")
|
||||
baseCmd.PersistentFlags().BoolVarP(&BuildNodes, "nodes", "N", false, "Build overlays only for the nodes")
|
||||
baseCmd.PersistentFlags().StringVarP(&OverlayName, "overlay", "o", "", "Build only specific overlay")
|
||||
baseCmd.PersistentFlags().StringVarP(&OverlayName, "overlay", "O", "", "Build only specific overlay")
|
||||
baseCmd.PersistentFlags().StringVarP(&OverlayDir, "output", "o", "", `Do not create an overlay to image, for distribution but write to|
|
||||
the given directory. An overlay must also be ge given to use this option. '/dev/stdin' will print|
|
||||
the processed overlay.`)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user