Skip to content

Commit

Permalink
OPENSHIFTP-237: add afterburn service to the ignition
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
  • Loading branch information
prb112 committed Sep 26, 2024
1 parent 8c45ddd commit 9c7454d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/5_worker/templates/worker.ign
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
]
}
},
"systemd": {
"units": [{
"name": "afterburn-hostname.service",
"enabled": true,
"contents": "[Unit]\nDescription=Afterburn Hostname\nBefore=network-online.target\nAfter=NetworkManager-wait-online.service\nBefore=node-valid-hostname.service\n[Service]\nExecStart=/usr/bin/afterburn --provider powervs --hostname=/etc/hostname\nType=oneshot\n[Install]\nWantedBy=network-online.target"
}]
},
"storage": {
"files": [
{
Expand Down

0 comments on commit 9c7454d

Please sign in to comment.