Merge pull request #1187 from mslacken/SetSSHKeys

allow the user to specify ssh key types
This commit is contained in:
Christian Goll
2024-05-06 11:12:06 +02:00
committed by GitHub
13 changed files with 98 additions and 20 deletions

View File

@@ -49,6 +49,12 @@ Warewulf (4.5.1):
- source: /etc/resolv.conf
dest: /etc/resolv.conf
readonly: true
ssh:
key types:
- rsa
- dsa
- ecdsa
- ed25519
Generally you can leave this file as is, as long as you set the
appropriate networking information. Specifically the following
@@ -151,6 +157,25 @@ may be overridden using ``warewulf.conf:paths``.
* ``wwclientdir``: Where the Warewulf client looks for its configuration on a provisioned node.
SSH key types
-------------
*New in Warewulf v4.5.1*
SSH key types to generate during ``wwctl configure ssh`` may be overridden using ``warewulf.conf:ssh:key types``.
.. code-block:: yaml
ssh:
key types:
- rsa
- dsa
- ecdsa
- ed25519
Warewulf will generate host keys for each listed key type.
The first listed key type is used to generate authentication ssh keys.
nodes.conf
==========