Skip to content

Commit

Permalink
README: Add sysext update service to Ignition setup
Browse files Browse the repository at this point in the history
The systemd-sysupdate components need to be updated either manually or
automatically.
Extend the OS-level sysupdate timer to also cover additional components
and reload the sysext images after an update.
  • Loading branch information
pothos committed Aug 29, 2023
1 parent decb8a6 commit 9a920d8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,24 @@ storage:
Type=regular-file
Path=/opt/extensions/docker
CurrentSymlink=/etc/extensions/docker.raw
systemd:
units:
- name: systemd-sysupdate.timer
enabled: true
- name: systemd-sysupdate.service
dropins:
- name: docker.conf
contents: |
[Service]
ExecStartPre=/usr/lib/systemd/systemd-sysupdate -C docker update
- name: kubernetes.conf
contents: |
[Service]
ExecStartPre=/usr/lib/systemd/systemd-sysupdate -C kubernetes update
- name: kubernetes.conf
contents: |
[Service]
ExecStartPost=systemctl restart systemd-sysext
```

### Creating a custom Docker sysext image
Expand Down

0 comments on commit 9a920d8

Please sign in to comment.