Skip to content

Commit e5ed45b

Browse files
committed
systemd: Add bootc-publish-rhsm-facts.service
When enabled, this triggers on bootc-status-updated.target to update the facts file for Red Hat Subscription Manager integration via `bootc internals publish-rhsm-facts` Signed-off-by: John Eckersberg <[email protected]>
1 parent 0b09728 commit e5ed45b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Unit]
2+
Description=Publish bootc facts to Red Hat Subscription Manager
3+
Documentation=man:bootc(8)
4+
ConditionPathExists=/etc/rhsm/facts
5+
6+
[Service]
7+
Type=oneshot
8+
ExecStart=/usr/bin/bootc internals publish-rhsm-facts
9+
10+
[Install]
11+
WantedBy=bootc-status-updated.target

0 commit comments

Comments
 (0)