This repository was archived by the owner on Sep 30, 2020. It is now read-only.
File tree 3 files changed +13
-22
lines changed
3 files changed +13
-22
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}}
@@ -343,7 +340,7 @@ coreos:
343
340
-v /etc/kubernetes:/etc/kubernetes:rw \
344
341
-v /var/lib/kubelet:/var/lib/kubelet:rshared \
345
342
-v /var/lib/docker:/var/lib/docker:rshared \
346
- {{ if eq .ContainerRuntime "rkt" - }}
343
+ {{- if eq .ContainerRuntime "rkt" }}
347
344
-v /opt/bin/host-rkt:/opt/bin/host-rkt:rw \
348
345
-v /usr/bin/rkt:/usr/bin/rkt:ro \
349
346
-v /var/lib/rkt:/usr/lib/rkt:rw \
You can’t perform that action at this time.
0 commit comments