b974a6c0e0
The deploy image is required in two places in an ironic deployment, first as images uploaded to glance for the ironic service, and second as files on a web server for the ironic-inspector service. Previously this role only placed the deploy images on the ironic inspector web server, but this patch provides the functionality to also upload the images to glance. The variables for ironic deploy image source locations are consolidated so that only one set are required to run the tasks for both ironic and ironic-inspector, and several overrides are available allowing the source to be overidden to a local mirror easily. Finally - the name of the files placed on the inspector web server and into glance represent the upstream name of the image files rather than generic names which lose versioning and release information. Change-Id: I1aed9d97a4ddbfb70d2375f5204c55374d1067c9
9 lines
413 B
Django/Jinja
9 lines
413 B
Django/Jinja
default inspect
|
|
|
|
label inspect
|
|
kernel {{ ironic_deploy_image_kernel_name }}
|
|
append initrd={{ ironic_deploy_image_initramfs_name }} ipa-inspection-callback-url={{ ironic_inspector_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ ironic_inspector_service_port }}/v1/continue nomodeset vga=normal console=tty0 console=ttyS0,115200n8 {{ ironic_inspector_pxe_append_params | default('') }}
|
|
ipappend 3
|
|
|
|
|