41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
variant: fcos
|
|
version: 1.6.0
|
|
storage:
|
|
files:
|
|
- path: /etc/zincati/config.d/51-rollout-wariness.toml
|
|
contents:
|
|
inline: |
|
|
[identity]
|
|
rollout_wariness = 0.8
|
|
- path: /etc/zincati/config.d/55-updates-strategy.toml
|
|
contents:
|
|
inline: |
|
|
[updates]
|
|
strategy = "periodic"
|
|
[[updates.periodic.window]]
|
|
days = [ "Sat","Sun" ]
|
|
start_time = "06:00"
|
|
length_minutes = 60
|
|
|
|
systemd:
|
|
units:
|
|
# Install qemu-guest-agent
|
|
- name: rpm-ostree-install-qemu-guest-agent.service
|
|
enabled: true
|
|
contents: |
|
|
[Unit]
|
|
Description=Install QEMU Guest Agent
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
Before=zincati.service
|
|
ConditionPathExists=!/var/lib/%N.stamp
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/bin/rpm-ostree install qemu-guest-agent
|
|
ExecStart=/usr/bin/touch /var/lib/%N.stamp
|
|
ExecStart=/usr/bin/systemctl --no-block reboot
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |