mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +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>
22 lines
261 B
Plaintext
22 lines
261 B
Plaintext
[
|
|
{
|
|
"domain": "fedora",
|
|
"macs": [
|
|
"52:54:00:a4:6f:93",
|
|
"52:54:00:a4:6f:94"
|
|
]
|
|
},
|
|
{
|
|
"domain": "gentoo",
|
|
"macs": [
|
|
"52:54:00:04:be:64"
|
|
]
|
|
},
|
|
{
|
|
"domain": "suse",
|
|
"macs": [
|
|
"52:54:00:aa:bb:cc"
|
|
]
|
|
}
|
|
]
|