mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
22f7ceb695
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>
24 lines
321 B
Plaintext
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"
|
|
]
|
|
}
|
|
]
|