forked from eranco74/ib-orchestrate-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
butane-dnsmasq.yaml
38 lines (36 loc) · 940 Bytes
/
butane-dnsmasq.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
variant: openshift
version: 4.13.0
metadata:
labels:
machineconfiguration.openshift.io/role: master
name: 50-master-dnsmasq-configuration
storage:
files:
- contents:
local: dnsmasq.conf
mode: 420
path: /etc/dnsmasq.d/single-node.conf
overwrite: true
- contents:
local: force-dns-script
mode: 365
path: /etc/NetworkManager/dispatcher.d/forcedns
overwrite: true
- contents:
local: unmanaged-resolv.conf
mode: 420
path: /etc/NetworkManager/conf.d/single-node.conf
overwrite: true
systemd:
units:
- name: dnsmasq.service
enabled: true
contents: |
[Unit]
Description=Run dnsmasq to provide local dns for Single Node OpenShift
Before=kubelet.service crio.service
After=network.target
[Service]
ExecStart=/usr/sbin/dnsmasq -k
[Install]
WantedBy=multi-user.target