Re: [Libguestfs] VM name starting with a dash

2023-04-04 Thread Tomáš Golembiovský
On Mon, Apr 03, 2023 at 01:28:14PM +0100, Richard W.M. Jones wrote: > > 13:19 < tgolembi[m]> is there a trick how to convert a VM with name that > starts with a dash? It's being confused for virt-v2v argument. > :) > > Yes you can do this: > > $ virt-v2v -o [etc...] -- vmn

[Libguestfs] VM name starting with a dash

2023-04-03 Thread Richard W.M. Jones
13:19 < tgolembi[m]> is there a trick how to convert a VM with name that starts with a dash? It's being confused for virt-v2v argument. :) Yes you can do this: $ virt-v2v -o [etc...] -- vmname Note all -options need to come before the "--". For example: $ virt-builder