blob: 840fd842efc5c66cbc447bab2c8419cdc56ece27 [file] [log] [blame]
Filip Pytlouna1898572016-01-25 22:35:13 +01001linux:
2 system:
3 enabled: true
Petr Michalec35277532017-02-28 23:16:58 +01004 domain: ci.local
Jakub Josef6a872062017-05-11 15:00:52 +02005 name: linux.ci.local
Filip Pytlouna1898572016-01-25 22:35:13 +01006 network:
7 enabled: true
Petr Michalec35277532017-02-28 23:16:58 +01008 hostname: linux
9 fqdn: linux.ci.local
Filip Pytlouna1898572016-01-25 22:35:13 +010010 network_manager: false
Petr Michalec35277532017-02-28 23:16:58 +010011 #interface:
12 #eth0:
13 #enabled: true
14 #type: eth
15 #address: 192.168.0.102
16 #netmask: 255.255.255.0
17 #gateway: 192.168.0.1
18 #name_servers:
19 #- 8.8.8.8
20 #- 8.8.4.4
21 #mtu: 1500
22 #vlan69:
23 #enabled: true
24 #type: vlan
25 #use_interfaces:
26 #- interface: ${linux:interface:eth0}
Oleksandr Vlasov27a6c3a2017-04-11 16:01:19 -060027 dhclient:
28 enabled: true
29 backoff_cutoff: 15
30 initial_interval: 10
31 reboot: 10
32 retry: 60
33 select_timeout: 0
34 timeout: 120
35 send:
36 - option: host-name
37 declaration: "= gethostname()"
38 supersede:
39 - option: host-name
40 declaration: linux
41 - option: domain-name
42 declaration: ci.local
43 #- option: arp-cache-timeout
44 # declaration: 20
45 prepend:
46 - option: domain-name-servers
47 declaration:
48 - 8.8.8.8
49 - 8.8.4.4
50 - option: domain-search
51 declaration:
52 - example.com
53 - eng.example.com
54 # ip or subnet to reject dhcp offer from
55 reject:
56 - 10.0.2.0/24
57 request:
58 - subnet-mask
59 - broadcast-address
60 - time-offset
61 - routers
62 - domain-name
63 - domain-name-servers
64 - domain-search
65 - host-name
66 - dhcp6.name-servers
67 - dhcp6.domain-search
68 - dhcp6.fqdn
69 - dhcp6.sntp-servers
70 - netbios-name-servers
71 - netbios-scope
72 - interface-mtu
73 - rfc3442-classless-static-routes
74 - ntp-servers
75 require:
76 - subnet-mask
77 - domain-name-servers
78 # if per interface configuration required add below
79 # interface:
80 # ens2:
81 # initial_interval: 11
82 # request:
83 # - subnet-mask
84 # - broadcast-address
85 # reject:
86 # - 10.0.3.0/24
87 # ens3:
88 # initial_interval: 12
89 # reject:
90 # - 10.0.4.0/24
Petr Michaleceb14b552017-06-01 10:27:05 +020091 systemd:
92 link:
93 10-iface-dmz:
94 match:
95 type: eth
96 # MACAddress: c8:5b:7f:a5:1a:da
97 # OriginalName: eth0
98 link:
99 name: dmz0
100 netdev:
101 20-bridge:
102 NetDev:
103 Name: br0
104 Kind: bridge
105 20-bridge-dmz:
106 # test all lowercase
107 match:
108 name: dmz0
109 network:
110 description: bridge
111 bridge: br-dmz0
112 network:
113 40-dhcp:
114 Match:
115 Name: '*'
116 Network:
117 DHCP: yes