add the ability to mask systemd units
Change-Id: I4f2a1ed3f5b2d4491784bef9b6e4c9b2f3896396
This commit is contained in:
parent
6db4c70e9e
commit
81a941a055
|
@ -22,6 +22,8 @@ data:
|
||||||
type: boolean
|
type: boolean
|
||||||
stop:
|
stop:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
mask:
|
||||||
|
type: boolean
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
apt_source_line:
|
apt_source_line:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -127,7 +127,7 @@ log === Starting Docker and Kubelet ===
|
||||||
set -x
|
set -x
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
{% for a in ['enable','start','stop','disable'] %}
|
{% for a in ['enable','start','stop','disable','mask'] %}
|
||||||
{% for u in config.get_units_by_action(a) %}
|
{% for u in config.get_units_by_action(a) %}
|
||||||
systemctl {{ a }} {{ u }}
|
systemctl {{ a }} {{ u }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue