Simplify and clarify configuration
- changed "secure port" to "tls port" - removed the --create flag for "wwctl configure tls"; made it the default behavior - fixed a TLS creation bug in "wwctl configure --all" - added logging to "wwctl configure tls" and "wwctl configure --all" (for the tls case) Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -18,14 +18,12 @@ var (
|
||||
}
|
||||
importPath string
|
||||
exportPath string
|
||||
create bool
|
||||
force bool
|
||||
)
|
||||
|
||||
func init() {
|
||||
baseCmd.PersistentFlags().StringVar(&importPath, "import", "", "Import keys from directory")
|
||||
baseCmd.PersistentFlags().StringVar(&exportPath, "export", "", "Export keys to directory")
|
||||
baseCmd.PersistentFlags().BoolVar(&create, "create", false, "Create keys if they do not exist")
|
||||
baseCmd.PersistentFlags().BoolVarP(&force, "force", "f", false, "Enforce creation of keys even if they exist")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user