Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Commit 8a86725

Browse files
mkowalskimachacekondra
authored andcommitted
Allow setting custom FQDN
During the interactive installation it is possible to specify a custom FQDN instead of using an autodetected host name. This is especially useful when using virtual hosts on the server hosting oVirt Engine. This patch allows setting ovirt_engine_setup_fqdn variable which will be used during the installation process to set the value to a desired one. Closes-bug: #49
1 parent f1ab12e commit 8a86725

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ as ``ovirt_engine_setup_answer_file_path``.
5050
| ovirt_engine_setup_package_list | [] | List of extra packages to be installed on engine apart from ovirt-engine package. |
5151
| ovirt_engine_setup_answer_file_path | UNDEF | Path to custom answerfile for `engine-setup`. |
5252
| ovirt_engine_setup_use_remote_answer_file | false | If `True`, use answerfile's path on the remote machine. This option should be used if the installation occure on the remote machine and the answerfile is located on there also. |
53+
| ovirt_engine_setup_fqdn | UNDEF | Host fully qualified DNS name of the server. |
5354
| ovirt_engine_setup_organization | UNDEF | Organization name for certificate. |
5455
| ovirt_engine_setup_firewall_manager | firewalld | Specify the type of firewall manager to configure on Engine host, following values are availableL: `firewalld`,`iptables` or empty value to skip firewall configuration. |
5556
| ovirt_engine_setup_update_setup_packages | False | If `True`, setup packages will be updated before `engine-setup` will be executed. Makes sense if Engine is already installed. |

templates/basic_answerfile.txt.j2

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
[environment:default]
2+
{% if ovirt_engine_setup_fqdn %}
3+
OVESETUP_CONFIG/fqdn=str:{{ ovirt_engine_setup_fqdn }}
4+
{% endif %}
25
{% if ovirt_engine_setup_firewall_manager %}
36
OVESETUP_CONFIG/updateFirewall=bool:True
47
OVESETUP_CONFIG/firewallManager=str:{{ ovirt_engine_setup_firewall_manager }}

0 commit comments

Comments
 (0)