wwctl configure --all calls SSH(keys)
Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
committed by
Jonathon Anderson
parent
69587b2a2a
commit
68ca92244d
@@ -50,6 +50,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Fix installation docs to use github.com/warewulf instead of github.com/hpcng. #1219
|
||||
- Fix the issue that warewulf.conf parse does not support CIDR format. #1130
|
||||
- Reduce the number of times syncuser walks the container file system. #1209
|
||||
- Create ssh key also when calling `wwctl configure --all` #1250
|
||||
|
||||
### Security
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ import (
|
||||
"os"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
warewulfconf "github.com/warewulf/warewulf/internal/pkg/config"
|
||||
"github.com/warewulf/warewulf/internal/pkg/configure"
|
||||
"github.com/warewulf/warewulf/internal/pkg/wwlog"
|
||||
)
|
||||
@@ -23,7 +24,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
err = configure.SSH()
|
||||
err = configure.SSH(warewulfconf.Get().SSH.KeyTypes...)
|
||||
if err != nil {
|
||||
wwlog.Error("%s", err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user