Infra/cloud-init/arm-ubuntu/network-config

37 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-10-18 22:20:04 +02:00
# This file contains a netplan-compatible configuration which cloud-init will
# apply on first-boot (note: it will *not* update the config after the first
# boot). Please refer to the cloud-init documentation and the netplan reference
# for full details:
#
# https://cloudinit.readthedocs.io/en/latest/topics/network-config.html
# https://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v2.html
# https://netplan.io/reference
#
# Please note that the YAML format employed by this file is sensitive to
# differences in whitespace; if you are editing this file in an editor (like
# Notepad) which uses literal tabs, take care to only use spaces for
# indentation. See the following link for more details:
#
# https://en.wikipedia.org/wiki/YAML
#
# Some additional examples are commented out below
version: 2
ethernets:
eth0:
match:
name: eth0
mtu: 1500
vlans:
vlan.2:
addresses:
- 10.0.2.6/26
gateway4: 10.0.2.1
id: 2
link: eth0
nameservers:
addresses:
- 10.0.0.31
search:
- kube.rostvik.site