diff options
| author | spmfox <spmfox@foxwd.com> | 2024-05-27 22:02:53 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2024-05-27 22:02:53 -0400 |
| commit | a2f4ef8a1d83ac42195ad9c10d95572b44609dcd (patch) | |
| tree | bb0f28e9d9b20376367e73bee57f8a026657320b /templates/bootcblade-rebuild.service.j2 | |
| parent | b1bf9890d12d965011c2dff639b8eb0b477d7ad2 (diff) | |
Initial commit of project
Diffstat (limited to 'templates/bootcblade-rebuild.service.j2')
| -rw-r--r-- | templates/bootcblade-rebuild.service.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/bootcblade-rebuild.service.j2 b/templates/bootcblade-rebuild.service.j2 new file mode 100644 index 0000000..525978a --- /dev/null +++ b/templates/bootcblade-rebuild.service.j2 @@ -0,0 +1,6 @@ +[Unit] +Description=BootcBlade rebuild service + +[Service] +ExecStart=/usr/bin/podman build -t localhost/bootcblade -f /root/bootcblade.containerfile +ExecStartPost=/usr/bin/bash -c "/usr/bin/sleep 10 ; /usr/bin/bootc update && /usr/bin/podman image prune -f" |
