diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-11-16 12:57:36 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-11-16 13:27:01 +0000 |
commit | fab75c0337d7897d10ea5e95e47ac05eab81ace9 (patch) | |
tree | a1fee811daabdcbc98489dcbb47c4b6265a1d12a /src/guestfs-internal.h | |
parent | 35afe0cb33c986bf595585a716ff259cf3415a1f (diff) | |
download | libguestfs-fab75c0337d7897d10ea5e95e47ac05eab81ace9.tar.gz libguestfs-fab75c0337d7897d10ea5e95e47ac05eab81ace9.tar.xz libguestfs-fab75c0337d7897d10ea5e95e47ac05eab81ace9.zip |
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.
Diffstat (limited to 'src/guestfs-internal.h')
-rw-r--r-- | src/guestfs-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index abcd4567..e3c5b1f0 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -219,6 +219,7 @@ struct inspect_fs { int major_version; int minor_version; char *arch; + char *hostname; char *windows_systemroot; struct inspect_fstab_entry *fstab; size_t nr_fstab; |