On Wed, Jan 31, 2018 at 9:55 AM, Luca 'remix_tj' Lorenzetto <lorenzetto.luca@gmail.com> wrote:
On Wed, Jan 31, 2018 at 7:35 AM, Maton, Brett <matonb@ltresources.co.uk> wrote:
> Are there any known issues with cloud-init not setting the network gateway ?
>
> I'm trying to create a host with the ansible roles, all is Ok apart from
> network settings.
>
> Ansible code:
>
[cut]
>
> I've also tried using the web-ui, again most 'things' get set but not the
> gateway which is a killer as I can only access the VM with remote console
> until I set the gateway.

Hello Brett,

we have the same issue with RHEL 7.4.

Our workaround is writing /etc/sysconfig/network file with the variable GATEWAY=
so we have the variable set at next network activation.

Luca


There are several bugzilla items opened for this problem. The one for RH EL 7.4.z is this on QA
https://bugzilla.redhat.com/show_bug.cgi?id=1540094

Others:
https://bugzilla.redhat.com/show_bug.cgi?id=1492726
https://bugzilla.redhat.com/show_bug.cgi?id=1539760 

Gianluca