Skip to content

Commit

Permalink
systemd: add Packet checkin service file
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Milner <smilner@redhat.com>
  • Loading branch information
ashcrow committed Apr 10, 2019
1 parent e59cafb commit a51f2e7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions systemd/afterburn-checkin-packet.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Unit]
Description=Afterburn (Packet Check In)
ConditionKernelCommandLine=|ignition.platform.id=packet
ConditionFirstBoot=yes
After=boot-complete.target

[Service]
ExecStart=/usr/bin/afterburn --cmdline --check-in
Type=oneshot
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

0 comments on commit a51f2e7

Please sign in to comment.