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

Re: [Libguestfs] Script to read systemd journal of a guest to find its IP address



I've pushed a new tool called "virt-log" upstream, so you can now
just do:

  virt-log -d Guest

or:

  virt-log -a disk.img

It will automatically fetch the journal or traditional syslog file as
appropriate, and we can add Windows support in future.

Unfortunately the journal_* API calls are rather slow because they
have to fetch each single line from the journal.  So there's some work
to be done to make that fast.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html


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