name: afterburn-hostname.service
enabled: true
contents: |
  [Unit]
  Description=Afterburn Hostname
  Before=node-valid-hostname.service

  [Service]
  ExecStart=/usr/bin/afterburn --provider openstack-metadata --hostname=/etc/hostname
  Type=oneshot

  [Install]
  WantedBy=network-online.target
