Skip to content

Commit 9c2ef56

Browse files
authored
Merge pull request #5287 from openshift-cherrypick-robot/cherry-pick-5286-to-release-4.19
[release-4.19] OCPBUGS-61835: Override NMState service definition
2 parents 37499ce + 157956c commit 9c2ef56

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Temporary override until the fix for https://issues.redhat.com/browse/OCPBUGS-61695
2+
# makes it into RHCOS.
3+
name: nmstate.service
4+
enabled: true
5+
contents: |
6+
[Unit]
7+
Description=Apply nmstate on-disk state
8+
Documentation=man:nmstate.service(8) https://www.nmstate.io
9+
After=NetworkManager-wait-online.service
10+
Before=network-online.target
11+
Wants=NetworkManager-wait-online.service
12+
Requires=NetworkManager.service
13+
14+
[Service]
15+
Type=oneshot
16+
ExecStart=/usr/bin/nmstatectl service
17+
RemainAfterExit=yes
18+
19+
[Install]
20+
WantedBy=NetworkManager.service

0 commit comments

Comments
 (0)