<div dir="ltr"><div><div><div>Thanks Luca,<br><br></div>I'll give that a go with the custom_script option.<br><br></div>Regards,<br></div>Brett<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 31 January 2018 at 08:55, Luca 'remix_tj' Lorenzetto <span dir="ltr"><<a href="mailto:lorenzetto.luca@gmail.com" target="_blank">lorenzetto.luca@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Jan 31, 2018 at 7:35 AM, Maton, Brett <<a href="mailto:matonb@ltresources.co.uk">matonb@ltresources.co.uk</a>> wrote:<br>
> Are there any known issues with cloud-init not setting the network gateway ?<br>
><br>
> I'm trying to create a host with the ansible roles, all is Ok apart from<br>
> network settings.<br>
><br>
> Ansible code:<br>
><br>
</span>[cut]<br>
<span class="">><br>
> I've also tried using the web-ui, again most 'things' get set but not the<br>
> gateway which is a killer as I can only access the VM with remote console<br>
> until I set the gateway.<br>
<br>
</span>Hello Brett,<br>
<br>
we have the same issue with RHEL 7.4.<br>
<br>
Our workaround is writing /etc/sysconfig/network file with the variable GATEWAY=<br>
so we have the variable set at next network activation.<br>
<span class="HOEnZb"><font color="#888888"><br>
Luca<br>
<br>
--<br>
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare<br>
calcoli che potrebbero essere affidati a chiunque se si usassero delle<br>
macchine"<br>
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)<br>
<br>
"Internet è la più grande biblioteca del mondo.<br>
Ma il problema è che i libri sono tutti sparsi sul pavimento"<br>
John Allen Paulos, Matematico (1945-vivente)<br>
<br>
Luca 'remix_tj' Lorenzetto, <a href="http://www.remixtj.net" rel="noreferrer" target="_blank">http://www.remixtj.net</a> , <<a href="mailto:lorenzetto.luca@gmail.com">lorenzetto.luca@gmail.com</a>><br>
</font></span></blockquote></div><br></div>