VM cannot reach internet, cloud-init (Ubuntu 18.04+)

Mathiiss

New Member
Aug 18, 2020
8
0
1
26
Hi, I'd like to use cloud-init to deploy a VM automatically, but the internet connection doesn't work with netplan, on Ubuntu 16.04, 14.04 it works. I looked here https://forum.proxmox.com/threads/cloud-init-ubuntu-18-04-bug-mit-default-gw.45286/ and added in netplan routes:
- to: 0.0.0.0.0/0
via: 95.216.XX.XX.XX
on-link: true
metric: 3

it works but I'd like it to do it automatically for my clients... My host is Hetzner.
 
Last edited:

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!