Merge "fcos: Disable zincati auto-updates"

This commit is contained in:
Zuul 2020-03-16 21:34:19 +00:00 committed by Gerrit Code Review
commit b146c28820
2 changed files with 26 additions and 0 deletions

View File

@ -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

View File

@ -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
}
]
},