2023-09-01 15:41:57 -04:00
|
|
|
# PVC install.sh preseed configuration Jinja2 template
|
|
|
|
#
|
|
|
|
# This BASH-compliant variables file is Loaded during PXE installs to preseed the environment.
|
|
|
|
# During normal usage, the pvcbootstrapd will load this file, adjust it according to its needs,
|
|
|
|
# and write out one instance per node to be installed.
|
|
|
|
#
|
|
|
|
# This file is thus not designed to be used by humans, and its values are seeded via options in
|
|
|
|
# the cluster-local Ansible group_vars, though it can be used as a manual template if required.
|
|
|
|
|
|
|
|
###
|
|
|
|
### General definitions/overrides
|
|
|
|
###
|
|
|
|
|
2023-09-01 15:41:58 -04:00
|
|
|
{%- if debrelease is defined and debrelease %}
|
2023-09-01 15:41:57 -04:00
|
|
|
# The Debian release to use (overrides the default)
|
2023-09-01 15:41:58 -04:00
|
|
|
debrelease="{{ debrelease }}"
|
2023-09-01 15:41:58 -04:00
|
|
|
{% endif %}
|
2023-09-01 15:41:57 -04:00
|
|
|
|
2023-09-01 15:41:58 -04:00
|
|
|
{%- if debmirror is defined and debmirror %}
|
2023-09-01 15:41:57 -04:00
|
|
|
# The Debian mirror to use (overrides the default)
|
2023-09-01 15:41:58 -04:00
|
|
|
debmirror="{{ debmirror }}"
|
2023-09-01 15:41:59 -04:00
|
|
|
{% endif %}
|
2023-09-01 15:41:57 -04:00
|
|
|
|
2023-09-01 15:41:58 -04:00
|
|
|
{%- if addpkglist is defined and addpkglist %}
|
2023-09-01 15:41:57 -04:00
|
|
|
# Additional packages (comma-separated) to install in the base system
|
2023-09-01 15:41:58 -04:00
|
|
|
addpkglist="{{ addpkglist }}"
|
2023-09-01 15:41:59 -04:00
|
|
|
{% endif %}
|
2023-09-01 15:41:57 -04:00
|
|
|
|
2023-09-01 15:41:58 -04:00
|
|
|
{%- if filesystem is defined and filesystem %}
|
2023-09-01 15:41:58 -04:00
|
|
|
# Alternate filesystem for system volumes (/, /var/lib/ceph, /var/lib/zookeeper)
|
2023-09-01 15:41:58 -04:00
|
|
|
filesystem="{{ filesystem }}"
|
2023-09-01 15:41:59 -04:00
|
|
|
{% endif %}
|
2023-09-01 15:41:58 -04:00
|
|
|
|
2023-09-01 15:41:57 -04:00
|
|
|
###
|
|
|
|
### Per-host definitions (required)
|
|
|
|
###
|
|
|
|
|
|
|
|
# The hostname of the system (set per-run)
|
2023-09-01 15:41:58 -04:00
|
|
|
target_hostname="{{ fqdn }}"
|
2023-09-01 15:41:57 -04:00
|
|
|
|
2023-09-01 15:41:58 -04:00
|
|
|
# The target system disk path
|
|
|
|
target_disk="{{ target_disk }}"
|
2023-09-01 15:41:57 -04:00
|
|
|
|
|
|
|
# SSH key method (usually tftp)
|
|
|
|
target_keys_method="tftp"
|
|
|
|
|
|
|
|
# SSH key path (usually keys.txt)
|
|
|
|
target_keys_path="keys.txt"
|
|
|
|
|
|
|
|
# Deploy username (usually deploy)
|
|
|
|
target_deploy_user="deploy"
|
|
|
|
|
2023-09-01 15:41:57 -04:00
|
|
|
# Consoles to use by the inital boot process; these are normally set automatically
|
|
|
|
# based on the TTYs found by the installer, and are later overridden by the Ansible
|
|
|
|
# playbooks based on the hardware configuration. It is best to leave this commented
|
|
|
|
# unless you know that you need it.
|
|
|
|
#target_consoles="console=tty1 console=ttyS1,115200"
|
|
|
|
|
2023-09-01 15:41:58 -04:00
|
|
|
# Modules to blacklist from the installed system; we include hpwdt (HP Proliant
|
|
|
|
# watchdog) by default since this is known to cause kernel panics on boot with this
|
|
|
|
# hardware. Add others here too if you wish to add more to the default.
|
|
|
|
#target_module_blacklist=( "hpwdt" )
|
|
|
|
|
2023-09-01 15:41:57 -04:00
|
|
|
# Installer checkin URI (provided by pvcbootstrapd)
|
2023-09-01 15:41:58 -04:00
|
|
|
pvcbootstrapd_checkin_uri="{{ pvcbootstrapd_checkin_uri }}"
|