Skip to content

Commit

Permalink
OpenStack: set correct hostnames for masters and workers
Browse files Browse the repository at this point in the history
This commit sets hostnames equal to OpenStack node names.
  • Loading branch information
Fedosin committed Jul 25, 2019
1 parent 43b202c commit 76e932b
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 76e932b

Please sign in to comment.