Tidy definition of http dir for inspector
The directory for the tftp server defined consistently between ironic and inspector, but not for the http directory. This patch makes the definition of the http directory work the same way as the tftp one. Change-Id: I8d893faa31e5858c4923cb12ef453ec9397db5df
This commit is contained in:
parent
b974a6c0e0
commit
ba1d9e9d4b
@ -420,7 +420,7 @@ ironic_inspector_dhcp_lease_time: 600
|
||||
ironic_inspector_dhcp_type: dnsmasq # isc_dhcp
|
||||
ironic_inspector_boot_mode: http #tftp
|
||||
ironic_inspector_pxe_boot_mode: "{{ ironic_inspector_boot_mode }}"
|
||||
ironic_inspector_httpboot_dir: /httpboot
|
||||
ironic_inspector_httpboot_dir: "{{ ironic_http_root }}"
|
||||
ironic_inspector_tftpboot_dir: "{{ ironic_tftpd_root }}"
|
||||
|
||||
ironic_inspector_dhcp_interface: "{{ ironic_bmaas_interface }}"
|
||||
|
@ -28,7 +28,7 @@
|
||||
- name: Download IPA Images
|
||||
get_url:
|
||||
url: "{{ item.url }}"
|
||||
dest: "/httpboot/{{ item.name }}"
|
||||
dest: "{{ ironic_inspector_httpboot_dir }}/{{ item.name }}"
|
||||
checksum: "sha256:{{ item.sha_url }}"
|
||||
owner: "{{ ironic_system_user_name }}"
|
||||
group: "{{ ironic_system_group_name }}"
|
||||
|
@ -10,7 +10,7 @@ server {
|
||||
|
||||
# directory to store ipxe
|
||||
location / {
|
||||
root /httpboot;
|
||||
root {{ ironic_http_root }};
|
||||
autoindex off;
|
||||
expires 1h;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user