-
Notifications
You must be signed in to change notification settings - Fork 0
/
99-disable-lldp-agent-mc.yaml
42 lines (40 loc) · 1.13 KB
/
99-disable-lldp-agent-mc.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
39
40
41
42
---
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: master
name: 99-master-disable-lldp-agent
spec:
config:
ignition:
config:
replace:
verification: {}
proxy: {}
security:
tls: {}
timeouts: {}
version: 3.2.0
passwd: {}
storage:
files:
- contents:
source: data:text/plain;charset=utf-8;base64,IyEvdXNyL2Jpbi9lbnYgYmFzaAoKZm9yIGkgaW4gZW5zMWYwIGVuczFmMSBlbnMxZjIgZW5zMWYzIGVuczJmMCBlbnMyZjEgZW5zMmYyIGVuczJmMzsgZG8KICBldGh0b29sIC0tc2V0LXByaXYtZmxhZ3MgJGkgZnctbGxkcC1hZ2VudCBvZmYKZG9uZQo=
verification: {}
group: {}
mode: 0550
path: /usr/local/bin/disable-lldp-agent.sh
user: {}
systemd:
units:
- contents: |
[Unit]
Description==Disable LLDP agent
[Service]
Type=oneshot
ExecStart=/usr/local/bin/disable-lldp-agent.sh
[Install]
WantedBy=multi-user.target
enabled: true
name: disable-lldp-agent.service