CloudInit does not set gateway for Ubuntu 18.04 LTS (netplan)

genesio

New Member
Jul 25, 2018
18
0
1
42
I am using cloud-init to set up some Ubuntu 18.04 VM's (uses netplan for net config)

They are all configured using static IPv4 address like 192.168.0.x/24
The gateway is 192.168.0.254

The generated /etc/netplan/50-cloud-init.yaml file does not contain gateway4 attribute
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!