Closed iNecas closed 12 years ago
I like this one too, but it has few drawbacks. I dont use NAT for my networking, so it is not possible to use this script (my DHCP is ADSL box). So I would recommend to either create a new option for determining IP, or maybe to use it only when NAT is used.
Let me merge that and fix it later on.
It works only in case dnsmasq is used with the libvirt (by default for Fedora systems). In case it finds out the ip address it writes this address into /etc/hosts (unless there is already a record for that hostname).
I understand it's not a general solution but it works for me so I want to share it with others :)