-
Notifications
You must be signed in to change notification settings - Fork 0
/
50-cloud-init.yaml
38 lines (38 loc) · 1.11 KB
/
50-cloud-init.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. 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:
ens3:
dhcp4: true
match:
macaddress: fa:16:3e:be:20:a0
set-name: ens3
ens4:
addresses:
- 10.202.0.2/16
match:
macaddress: fa:16:3e:c4:65:0a
mtu: 1500
nameservers:
addresses:
- 10.0.0.2
search: []
routes:
- to: 10.204.0.0/16
via: 10.202.0.1
set-name: ens4
ens5:
addresses:
- 10.203.0.2/16
match:
macaddress: fa:16:3e:20:3e:2e
mtu: 1500
nameservers:
addresses:
- 10.0.0.2
search: []
set-name: ens5