1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/tests/qemublocktestdata/jsontojson/ssh-passthrough-libguestfs-out.json
Peter Krempa d6db013c6e qemu: Pass through arguments of 'ssh' block driver used by libguestfs
We currently don't model the 'ssh' protocol properties properly and
since it seems impossible for now (agent path passed via environment
variable). To allow libguestfs to work as it used in pre-blockdev era we
must carry the properties over to the command line. For this instance we
just store it internally and format it back.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2020-03-16 15:51:44 +01:00

15 lines
234 B
JSON

{
"driver": "ssh",
"path": "somewhere/something",
"server": {
"host": "random.host",
"port": "22"
},
"user": "testuser",
"host-key-check": {
"mode": "none"
},
"auto-read-only": true,
"discard": "unmap"
}