
Thanks Luca, I'll give that a go with the custom_script option. Regards, Brett On 31 January 2018 at 08:55, 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
-- "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli che potrebbero essere affidati a chiunque se si usassero delle macchine" Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
"Internet è la più grande biblioteca del mondo. Ma il problema è che i libri sono tutti sparsi sul pavimento" John Allen Paulos, Matematico (1945-vivente)
Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , < lorenzetto.luca@gmail.com>