This repository was archived by the owner on Sep 30, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-21
lines changed
Expand file tree Collapse file tree 3 files changed +12
-21
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,10 @@ coreos:
4040 reboot-strategy: "off"
4141 units:
4242{{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
5047{{end}}
5148
5249 - name: handle-disable-request.service
Original file line number Diff line number Diff line change @@ -42,13 +42,10 @@ coreos:
4242 reboot-strategy: "off"
4343 units:
4444{{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
5249{{end}}
5350{{- range $u := .Etcd.CustomSystemdUnits}}
5451 - name: {{$u.Name}}
Original file line number Diff line number Diff line change @@ -42,13 +42,10 @@ coreos:
4242 reboot-strategy: "off"
4343 units:
4444{{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
5249{{end}}
5350{{- range $u := .CustomSystemdUnits}}
5451 - name: {{$u.Name}}
You can’t perform that action at this time.
0 commit comments