Remove wwctl overlay <build|import> --setdefault

- Closes: #1335

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-12-24 22:32:04 -07:00
parent 3bbe859e07
commit d0f4eaa9bb
9 changed files with 349 additions and 436 deletions

View File

@@ -23,13 +23,11 @@ var (
}
BuildForce bool
BuildAll bool
SetDefault bool
)
func init() {
baseCmd.PersistentFlags().BoolVarP(&BuildAll, "all", "a", false, "(re)Build all VNFS images for all nodes")
baseCmd.PersistentFlags().BoolVarP(&BuildForce, "force", "f", false, "Force rebuild, even if it isn't necessary")
baseCmd.PersistentFlags().BoolVar(&SetDefault, "setdefault", false, "Set this container for the default profile")
}
// GetRootCommand returns the root cobra.Command for the application.