mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 08:05:24 +00:00
d6db013c6e
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>
15 lines
234 B
JSON
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"
|
|
}
|