New API: inspect-get-hostname to return the hostname of the guest.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 16 Nov 2010 12:57:36 +0000 (12:57 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 16 Nov 2010 13:27:01 +0000 (13:27 +0000)
commitfab75c0337d7897d10ea5e95e47ac05eab81ace9
treea1fee811daabdcbc98489dcbb47c4b6265a1d12a
parent35afe0cb33c986bf595585a716ff259cf3415a1f
New API: inspect-get-hostname to return the hostname of the guest.

This returns the hostname of the guest.  Tested on RHEL, Fedora,
Debian 5, Ubuntu 10.10, FreeBSD 8, Windows 7.
generator/generator_actions.ml
src/guestfs-internal.h
src/guestfs.pod
src/inspect.c