allow multiple generic and wwinit overlays
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
|
||||
func CobraRunE(cmd *cobra.Command, args []string) error {
|
||||
|
||||
if BuildHost || (!BuildHost && !BuildNodes) {
|
||||
if BuildHost || (!BuildHost && !BuildNodes && len(args) == 0) {
|
||||
err := overlay.BuildHostOverlay()
|
||||
if err != nil {
|
||||
wwlog.Printf(wwlog.WARN, "host overlay could not be built: %s\n", err)
|
||||
|
||||
Reference in New Issue
Block a user