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 +13
-22
lines changed
Expand file tree Collapse file tree 3 files changed +13
-22
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}}
@@ -343,7 +340,7 @@ coreos:
343340 -v /etc/kubernetes:/etc/kubernetes:rw \
344341 -v /var/lib/kubelet:/var/lib/kubelet:rshared \
345342 -v /var/lib/docker:/var/lib/docker:rshared \
346- {{ if eq .ContainerRuntime "rkt" - }}
343+ {{- if eq .ContainerRuntime "rkt" }}
347344 -v /opt/bin/host-rkt:/opt/bin/host-rkt:rw \
348345 -v /usr/bin/rkt:/usr/bin/rkt:ro \
349346 -v /var/lib/rkt:/usr/lib/rkt:rw \
You can’t perform that action at this time.
0 commit comments