dhcpPersist variable, update wwctl services to wwctl configure in default confs
* fixed wrong variable for kernel arguments * fixed wrong variable for persistence * fixed recreate command hint
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# This file is created and was written by a Warewulf template. It is strongly
|
||||
# suggested that you do not edit this file, but rather, edit the template and
|
||||
# recreate this file using Warewulf (wwctl services dhcp)
|
||||
# recreate this file using Warewulf (wwctl configure dhcp)
|
||||
|
||||
allow booting;
|
||||
allow bootp;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# This file is created and was written by a Warewulf template. It is strongly
|
||||
# suggested that you do not edit this file, but rather, edit the template and
|
||||
# recreate this file using Warewulf (wwctl services dhcp)
|
||||
# recreate this file using Warewulf (wwctl configure dhcp)
|
||||
|
||||
allow booting;
|
||||
allow bootp;
|
||||
|
||||
@@ -18,7 +18,7 @@ var (
|
||||
|
||||
func init() {
|
||||
baseCmd.PersistentFlags().BoolVarP(&SetShow, "show", "s", false, "Show configuration (don't update)")
|
||||
baseCmd.PersistentFlags().BoolVar(&SetShow, "persist", false, "Persist the configuration and initialize the service")
|
||||
baseCmd.PersistentFlags().BoolVar(&SetPersist, "persist", false, "Persist the configuration and initialize the service")
|
||||
}
|
||||
|
||||
// GetRootCommand returns the root cobra.Command for the application.
|
||||
|
||||
Reference in New Issue
Block a user