fcos: Disable zincati auto-updates
By default FCOS auto-updates nodes which causes reboots as well. Disable the auto-update functionallity. docs: https://github.com/coreos/zincati/blob/0.0.6/docs/usage/auto-updates.md#disabling-auto-updates story: 2005201 task: 39029 Change-Id: I67a4eefdd9b11889b232a0d0a385087f98d3e85e Signed-off-by: Spyros Trigazis <strigazi@gmail.com>
This commit is contained in:
parent
af74b326d0
commit
744fff3a47
|
@ -142,6 +142,18 @@ storage:
|
|||
sed -i '/^PasswordAuthentication yes/ s/ yes/ no/' /etc/ssh/sshd_config
|
||||
|
||||
systemctl restart sshd
|
||||
- path: /etc/zincati/config.d/90-disable-auto-updates.toml
|
||||
# 420 (decimal) == 644 (octal)
|
||||
mode: 420
|
||||
group:
|
||||
name: root
|
||||
user:
|
||||
name: root
|
||||
contents:
|
||||
inline: |
|
||||
[updates]
|
||||
enabled = false
|
||||
|
||||
systemd:
|
||||
units:
|
||||
- name: configure-agent-env.service
|
||||
|
|
|
@ -101,6 +101,20 @@
|
|||
"verification": {}
|
||||
},
|
||||
"mode": 448
|
||||
},
|
||||
{
|
||||
"group": {
|
||||
"name": "root"
|
||||
},
|
||||
"path": "/etc/zincati/config.d/90-disable-auto-updates.toml",
|
||||
"user": {
|
||||
"name": "root"
|
||||
},
|
||||
"contents": {
|
||||
"source": "data:,%5Bupdates%5D%0Aenabled%20%3D%20false%0A",
|
||||
"verification": {}
|
||||
},
|
||||
"mode": 420
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue