forked from woyaowoyao/ocp-customizations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmco_ovs.yml.tmpl
32 lines (32 loc) · 846 Bytes
/
mco_ovs.yml.tmpl
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
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: cnv
name: 00-configure-ovs
spec:
config:
ignition:
version: 2.2.0
systemd:
units:
- enabled: true
name: openvswitch.service
- contents: |
[Unit]
After=NetworkManager-wait-online.service
After=openvswitch.service
[Service]
Type=oneshot
ExecStart=/bin/sh /var/setup-ovs.sh
[Install]
WantedBy=multi-user.target
name: setup-ovs.service
enabled: true
storage:
files:
- contents:
source: data:text/plain;charset=utf-8;base64,${SCRIPT_BASE64}
filesystem: root
mode: 484
path: /var/setup-ovs.sh