[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] virt-ls windows

On Fri, Aug 03, 2012 at 07:25:09PM +0300, Evaggelos Balaskas wrote:
> but with guestfish
> ><fs> /usr/bin/rsync /boot.ini localdir/
> /usr/bin/rsync: unknown command

You can try it in virt-rescue first, because guestfish <> virt-rescue:


Assuming it works in 'virt-rescue --network', which it ought to, you
can then try running it from guestfish using the debug backdoor, also
described in the FAQ entry above.

Something like this, not tested:

  guestfish <<EOF
  add-domain guest readonly:true
  set-network true
  [...some mount-ro commands here...]
  debug sh "rsync /local server:/remote"


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]