wwctl overlay buld fixes

This commit is contained in:
Christian Goll
2022-03-16 15:27:50 +01:00
parent 9dbf371174
commit 0d62a26368
3 changed files with 13 additions and 3 deletions

View File

@@ -20,9 +20,8 @@ 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(&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.`)
baseCmd.PersistentFlags().StringVarP(&OverlayDir, "output", "o", "", `Do not create an overlay image, for distribution but write to
the given directory. An overlay must also be ge given to use this option.`)
}