This repository was archived by the owner on Sep 30, 2020. It is now read-only.
File tree 3 files changed +12
-21
lines changed
3 files changed +12
-21
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,10 @@ coreos:
40
40
reboot-strategy: "off"
41
41
units:
42
42
{{if .DisableContainerLinuxAutomaticUpdates}}
43
- - name: disable-automatic-update.service
44
- command: start
45
- content: |
46
- [Unit]
47
- Description=Disable Container Linux automatic update. Work around to be removed on Ignition migration.
48
- [Service]
49
- ExecStart=/usr/bin/sh -c 'for u in update-engine locksmithd; do systemctl stop $${u}.service; systemctl mask $${u}.service; systemctl disable $${u}.service; done; systemctl reset-failed'
43
+ - name: update-engine.service
44
+ mask: true
45
+ - name: locksmithd.service
46
+ mask: true
50
47
{{end}}
51
48
52
49
- name: handle-disable-request.service
Original file line number Diff line number Diff line change @@ -42,13 +42,10 @@ coreos:
42
42
reboot-strategy: "off"
43
43
units:
44
44
{{if .DisableContainerLinuxAutomaticUpdates}}
45
- - name: disable-automatic-update.service
46
- command: start
47
- content: |
48
- [Unit]
49
- Description=Disable Container Linux automatic update. Work around to be removed on Ignition migration.
50
- [Service]
51
- ExecStart=/usr/bin/sh -c 'for u in update-engine locksmithd; do systemctl stop $${u}.service; systemctl mask $${u}.service; systemctl disable $${u}.service; done; systemctl reset-failed'
45
+ - name: update-engine.service
46
+ mask: true
47
+ - name: locksmithd.service
48
+ mask: true
52
49
{{end}}
53
50
{{- range $u := .Etcd.CustomSystemdUnits}}
54
51
- name: {{$u.Name}}
Original file line number Diff line number Diff line change @@ -42,13 +42,10 @@ coreos:
42
42
reboot-strategy: "off"
43
43
units:
44
44
{{if .DisableContainerLinuxAutomaticUpdates}}
45
- - name: disable-automatic-update.service
46
- command: start
47
- content: |
48
- [Unit]
49
- Description=Disable Container Linux automatic update. Work around to be removed on Ignition migration.
50
- [Service]
51
- ExecStart=/usr/bin/sh -c 'for u in update-engine locksmithd; do systemctl stop $${u}.service; systemctl mask $${u}.service; systemctl disable $${u}.service; done; systemctl reset-failed'
45
+ - name: update-engine.service
46
+ mask: true
47
+ - name: locksmithd.service
48
+ mask: true
52
49
{{end}}
53
50
{{- range $u := .CustomSystemdUnits}}
54
51
- name: {{$u.Name}}
You can’t perform that action at this time.
0 commit comments