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
controlplane/config/templates
nodepool/config/templates
3 files changed +12
-21
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,10 @@ coreos:
38
38
reboot-strategy: "off"
39
39
units:
40
40
{{if .DisableContainerLinuxAutomaticUpdates}}
41
- - name: disable-automatic-update.service
42
- command: start
43
- content: |
44
- [Unit]
45
- Description=Disable Container Linux automatic update. Work around to be removed on Ignition migration.
46
- [Service]
47
- 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'
41
+ - name: update-engine.service
42
+ mask: true
43
+ - name: locksmithd.service
44
+ mask: true
48
45
{{end}}
49
46
50
47
- name: handle-disable-request.service
Original file line number Diff line number Diff line change @@ -41,13 +41,10 @@ coreos:
41
41
reboot-strategy: "off"
42
42
units:
43
43
{{if .DisableContainerLinuxAutomaticUpdates}}
44
- - name: disable-automatic-update.service
45
- command: start
46
- content: |
47
- [Unit]
48
- Description=Disable Container Linux automatic update. Work around to be removed on Ignition migration.
49
- [Service]
50
- 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'
44
+ - name: update-engine.service
45
+ mask: true
46
+ - name: locksmithd.service
47
+ mask: true
51
48
{{end}}
52
49
{{- range $u := .Etcd.CustomSystemdUnits}}
53
50
- name: {{$u.Name}}
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
{{- range $u := .CustomSystemdUnits}}
52
49
- name: {{$u.Name}}
You can’t perform that action at this time.
0 commit comments