<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 22, 2016 at 1:31 PM, Martin Sivak <span dir="ltr"><<a href="mailto:msivak@redhat.com" target="_blank">msivak@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here is a solution that should play nice with Network Manager:<br>
<br></blockquote><div>+1 for a steady stable solution like this<br><br></div><div>+Eldad I'm sure this may come in handy for you<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
/etc/NetworkManager/dnsmasq.d/10-vdsmfake.conf<br>
<br>
address=/vdsm.simulator/<a href="http://127.0.0.1" rel="noreferrer" target="_blank">127.0.0.1</a><br>
<br>
<br>
/etc/NetworkManager/conf.d/20-dnsmasq.conf<br>
<br>
[main]<br>
dns=dnsmasq<br>
<br>
<br>
$ yum install dnsmasq<br>
$ systemctl disable dnsmasq<br>
$ systemctl restart NetworkManager<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888"><br>
Martin<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Thu, Feb 18, 2016 at 12:52 PM, Martin Sivak <<a href="mailto:msivak@redhat.com">msivak@redhat.com</a>> wrote:<br>
> Just make sure you add it properly, because resolv.conf can be<br>
> overwritten by network manager.<br>
><br>
> Something like:<br>
><br>
> nmcli con mod <net interface> +ipv4.dns "127.0.0.1"<br>
><br>
> Martin<br>
><br>
><br>
> On Thu, Feb 18, 2016 at 12:35 PM, Michal Skrivanek<br>
> <<a href="mailto:michal.skrivanek@redhat.com">michal.skrivanek@redhat.com</a>> wrote:<br>
>><br>
>> On 18 Feb 2016, at 10:44, Roy Golan <<a href="mailto:rgolan@redhat.com">rgolan@redhat.com</a>> wrote:<br>
>><br>
>><br>
>><br>
>> On Tue, Feb 16, 2016 at 2:45 PM, Roman Mohr <<a href="mailto:rmohr@redhat.com">rmohr@redhat.com</a>> wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> A small heads up regarding to ovirt-vdsmfake. We merged some changes today<br>
>>> which add support for oVirt 4.0 and make it much easier to get started with<br>
>>> vdsmfake.<br>
>>><br>
>>> With the changes, now it is enough to just run `mvn jetty:run` to have a<br>
>>> working vdsmfake.<br>
>>> Have a look at the new quickstart guide in the README.md [1] to see how to<br>
>>> get started..<br>
>>><br>
>>> Best regards,<br>
>>> Roman<br>
>>><br>
>>> [1] <a href="https://github.com/oVirt/ovirt-vdsmfake" rel="noreferrer" target="_blank">https://github.com/oVirt/ovirt-vdsmfake</a><br>
>><br>
>><br>
>><br>
>> Thanks, nice for a real quick start.<br>
>><br>
>> I can add that I also use dnsmasq to resolve any address to an IP<br>
>><br>
>> dnsmasq --address=/vdsm.simulator/<a href="http://127.0.0.1" rel="noreferrer" target="_blank">127.0.0.1</a><br>
>><br>
>> and that will resolve XXX.vdsm.simulator to 127.0.0.1. Just need to add<br>
>> nameserver to /etc/resolv.conf<br>
>><br>
>> I'll add that to the README as well<br>
>><br>
>><br>
>> please make it the favorite solution. It’s way more clean than messing with<br>
>> /etc/hosts<br>
>><br>
>><br>
>> _______________________________________________<br>
>> Devel mailing list<br>
>> <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Devel mailing list<br>
>> <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>