]> git.ipfire.org Git - thirdparty/libvirt.git/commit
schema: add keyfile configuration for ssh disks
authorJonathon Jongsma <jjongsma@redhat.com>
Thu, 19 Jan 2023 21:52:20 +0000 (15:52 -0600)
committerJonathon Jongsma <jjongsma@redhat.com>
Tue, 19 Sep 2023 19:28:50 +0000 (14:28 -0500)
commit1e2fa6d524f0e2c65c0ce703dbde22b1e8c78285
tree4e921d6ed753a7f03c84e14f6c0145892175afe5
parent21b377a31b37f6a9c9d15c50c91b672e3374a7cb
schema: add keyfile configuration for ssh disks

Authenticating via key file to an ssh server is often preferable to
logging in via password. In order to support this functionality add a
new <identity> xml element for ssh disks that allows the user to specify
a keyfile and username. Example configuration:

    <disk type='network'>
      <source protocol='ssh' ...>
        <identity keyfile='/path/to/id_rsa' username='myusername'/>
        ...
      </source>
    ...
    </disk>

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
docs/formatdomain.rst
src/conf/schemas/domaincommon.rng