Description of problem: This doesn't work, but should: virt-sysprep -a ssh://remote/path/to/disk.img Version-Release number of selected component (if applicable): libguestfs 1.22
Remove virt-resize, virt-sparsify from the description as it's not likely these data-intensive programs would work well over remote connections.
This is fixed in libguestfs >= 1.23.12: https://github.com/libguestfs/libguestfs/commit/b56990ddf8aa4dc4db3da592783acfe055c05534 https://github.com/libguestfs/libguestfs/commit/0e1ba00059b5ebbca2e137f2685b2eb65ed33b13 https://github.com/libguestfs/libguestfs/commit/a3891430bc9fe408505277701962acaa664fc96a https://github.com/libguestfs/libguestfs/commit/671be806ae79df5d0a9e864d2f9b3461d08c7733 https://github.com/libguestfs/libguestfs/commit/4d7c14fdbb372d6ad5ef729b6969078b5fdb68da https://github.com/libguestfs/libguestfs/commit/406522d1d2c9108c52f1356cbbb9bb4039d9ce84 https://github.com/libguestfs/libguestfs/commit/b65c1c667b26313abf312a7ab51f8bf947243d07