forked from pool/warewulf4
Accepting request 1177285 from network:cluster
- added wwctl-configure-all-calls-SSH-keys.patch to fix (bsc#1225402) OBS-URL: https://build.opensuse.org/request/show/1177285 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/warewulf4?expand=0&rev=22
This commit is contained in:
commit
5b41e388f5
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 27 17:21:53 UTC 2024 - Christian Goll <cgoll@suse.com>
|
||||
|
||||
- added wwctl-configure-all-calls-SSH-keys.patch to fix
|
||||
(bsc#1225402)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 14 09:01:13 UTC 2024 - Christian Goll <cgoll@suse.com>
|
||||
|
||||
|
@ -35,6 +35,7 @@ Source5: warewulf4-rpmlintrc
|
||||
Source10: config-ww4.sh
|
||||
Source11: adjust_overlays.sh
|
||||
Source20: README.dnsmasq
|
||||
Patch1: wwctl-configure-all-calls-SSH-keys.patch
|
||||
|
||||
# no firewalld in sle12
|
||||
%if 0%{?sle_version} >= 150000 || 0%{?suse_version} > 1500
|
||||
|
21
wwctl-configure-all-calls-SSH-keys.patch
Normal file
21
wwctl-configure-all-calls-SSH-keys.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff --git a/internal/app/wwctl/configure/main.go b/internal/app/wwctl/configure/main.go
|
||||
index c663dc71..fad8c4af 100644
|
||||
--- a/internal/app/wwctl/configure/main.go
|
||||
+++ b/internal/app/wwctl/configure/main.go
|
||||
@@ -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)
|
Loading…
Reference in New Issue
Block a user