Created
December 7, 2019 03:36
-
-
Save marcolussetti/453bcc28c15e9369836daefe7e821ad8 to your computer and use it in GitHub Desktop.
SoYouStart/OVH Ubuntu 18.04 Networking Config for ESXi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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