Skip to content

Instantly share code, notes, and snippets.

@marcolussetti
Created December 7, 2019 03:36
Show Gist options
  • Save marcolussetti/453bcc28c15e9369836daefe7e821ad8 to your computer and use it in GitHub Desktop.
Save marcolussetti/453bcc28c15e9369836daefe7e821ad8 to your computer and use it in GitHub Desktop.
SoYouStart/OVH Ubuntu 18.04 Networking Config for ESXi
# Stored at /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
ens160:
addresses: [<server-ip>/32]
nameservers:
addresses: [213.186.33.99]
search: []
optional: true
routes:
- to: 0.0.0.0/0
via: <gateway>
on-link: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment