1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-25 01:34:11 +03:00
libvirt/tests/nssdata/virbr0.macs
Michal Privoznik 22f7ceb695 nss: Introduce libvirt-guest module
So far the NSS module looks up only hostnames as provided by
guests themselves. However, there are some cases where this is
not enough: e.g. when there's a fresh new guest being installed
(with some generic hostname) say from a live ISO image; or some
(older) systems don't advertise their hostname in DHCP
transactions at all.
In cases like that it would be helpful if we translate domain
name as seen by libvirt too so that users can:

  # virsh start $dom && ssh $dom

In order to achieve that new libvirt-guest module is introduced,
while older libvirt module maintains its current behaviour (that
is translating guest provided names into IP addresses).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-12-06 13:34:00 +01:00

24 lines
321 B
Plaintext

[
{
"domain": "fedora",
"macs": [
"52:54:00:a4:6f:91",
"52:54:00:a4:6f:92"
]
},
{
"domain": "gentoo",
"macs": [
"52:54:00:3a:b5:0c"
]
},
{
"domain": "debian",
"macs": [
"52:54:00:11:22:33",
"52:54:00:a2:37:4c",
"52:54:00:f8:5b:1d"
]
}
]