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:
Niko Kivel
2021-01-27 15:36:59 +01:00
committed by GitHub
parent 3370ee7142
commit 70735c144f
4 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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.

View File

@@ -45,4 +45,4 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Jan 26 14:46:24 JST 2021 Brian Clemens <bclemens@ctrliq.com> - 4.0.0
- Initial release
- Initial release