Merge "fcos: Disable zincati auto-updates"
This commit is contained in:
commit
b146c28820
@ -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
Block a user