Skip to content

Commit

Permalink
Merge pull request #964 from Fedosin/openstack_hostnames
Browse files Browse the repository at this point in the history
OpenStack: set correct hostnames for masters and workers
  • Loading branch information
openshift-merge-robot committed Jul 25, 2019
2 parents 86decc8 + 76e932b commit edf8d9f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions templates/common/openstack/units/afterburn-hostname.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "afterburn-hostname.service"
enabled: true
contents: |
[Unit]
Description=Afterburn Hostname
Before=kubelet.service
[Service]
ExecStart=/usr/bin/afterburn --provider openstack-metadata --hostname=/etc/hostname
Type=oneshot
[Install]
WantedBy=multi-user.target

0 comments on commit edf8d9f

Please sign in to comment.