Configure minion hostname
We should set the minion_hostname in the minion.conf similar to what we do for the undercloud. Change-Id: Iacd6e9860b7aabff65b6c2d383d488903a9a0287 Closes-Bug: #1839025
This commit is contained in:
parent
02548d8c93
commit
5071d16cea
@ -48,11 +48,6 @@
|
||||
shell: "{{ ansible_pkg_mgr }} --enablerepo='gating-repo' update -y"
|
||||
become: true
|
||||
when: hostvars['undercloud']['compressed_gating_repo'] is defined
|
||||
- name: Include hostname tasks
|
||||
include_role:
|
||||
name: undercloud-setup
|
||||
tasks_from: hostname
|
||||
when: hostname_correction|default(false)|bool or step_set_undercloud_hostname|default(false)|bool
|
||||
tags:
|
||||
- undercloud-setup
|
||||
|
||||
|
@ -5,6 +5,7 @@ minion_install_cmd: openstack undercloud minion install
|
||||
minion_install_cli_options: ""
|
||||
minion_post_install_script: minion-install-post.sh.j2
|
||||
minion_install_log: "{{ working_dir }}/minion_install.log"
|
||||
minion_minion_hostname: minion.localdomain
|
||||
|
||||
minion_install_script: minion-install.sh.j2
|
||||
|
||||
|
@ -102,6 +102,7 @@ minion_enable_selinux = {{ minion_selinux_enabled }}
|
||||
# appropriately. If set, the undercloud install will configure all
|
||||
# system hostname settings. (string value)
|
||||
#minion_hostname = <None>
|
||||
minion_hostname = {{ minion_minion_hostname }}
|
||||
|
||||
# Network interface on the Undercloud that will be handling the PXE
|
||||
# boots and DHCP for Overcloud instances. (string value)
|
||||
|
Loading…
Reference in New Issue
Block a user