c3e04a5106
* Adds support for provisioning a Multi Node AIO using CentOS 7. * Cleans up older MNAIO/Compute/Infra image configs * Increases LB/Logging/Swift VM ram to allow for CentOS rootfs to load into RAM. (1GB to 2GB) * Uses systemd-network networking for configuring network/bridges * Adds keymap to kvm configuration to alleviate keyboard issues in virt-manager Change-Id: I54d903e7c1c70882e8b20a9cef4eafb42be46770
14 lines
1.1 KiB
Django/Jinja
14 lines
1.1 KiB
Django/Jinja
{% set server_vars = hostvars[item] %}
|
|
{% set image_properties = images[server_vars['server_image']] %}
|
|
#!ipxe
|
|
|
|
kernel {{ image_properties['image_netboot_kernel_url'] }}
|
|
initrd {{ image_properties['image_netboot_initrd_url'] }}
|
|
{% if image_properties['image_type'] == 'debian' %}
|
|
imgargs linux hostname={{ server_vars['server_hostname'] }} {{ image_properties['image_kernel_options'] }} preseed/url={{ image_properties['image_configs'][server_vars['server_preseed_ks']]['url'] }} preseed/interactive=false netcfg/choose_interface={{ server_vars['server_default_interface'] }} netcfg/get_domain={{ server_vars['server_domain_name'] }} initrd=initrd.gz {{ server_vars['server_extra_options'] | default('') }}
|
|
{% endif %}
|
|
{% if image_properties['image_type'] == 'redhat' %}
|
|
imgargs vmlinuz hostname={{ server_vars['server_hostname'] }} {{ image_properties['image_kernel_options'] }} ks={{ image_properties['image_configs'][server_vars['server_preseed_ks']]['url'] }} BOOTIF=${netX/mac} initrd=initrd.img {{ server_vars['server_extra_options'] | default('') }}
|
|
{% endif %}
|
|
boot
|