Merge "Variablize the full iPXE binary"
This commit is contained in:
commit
7eadbf2ab2
@ -4,6 +4,7 @@ init_dest_dir: /etc/init/
|
|||||||
init_ext: .conf
|
init_ext: .conf
|
||||||
syslinux_tftp_dir: /usr/lib/syslinux/
|
syslinux_tftp_dir: /usr/lib/syslinux/
|
||||||
ipxe_dir: /usr/lib/ipxe/
|
ipxe_dir: /usr/lib/ipxe/
|
||||||
|
ipxe_full_binary: ipxe.pxe
|
||||||
sgabios_dir: /usr/share/qemu/
|
sgabios_dir: /usr/share/qemu/
|
||||||
nginx_user: www-data
|
nginx_user: www-data
|
||||||
virt_group: libvirtd
|
virt_group: libvirtd
|
||||||
|
@ -4,6 +4,7 @@ init_dest_dir: /usr/lib/systemd/system/
|
|||||||
init_ext: .service
|
init_ext: .service
|
||||||
syslinux_tftp_dir: /var/lib/tftpboot
|
syslinux_tftp_dir: /var/lib/tftpboot
|
||||||
ipxe_dir: /usr/share/ipxe/
|
ipxe_dir: /usr/share/ipxe/
|
||||||
|
ipxe_full_binary: ipxe.lkrn
|
||||||
sgabios_dir: /usr/share/sgabios/
|
sgabios_dir: /usr/share/sgabios/
|
||||||
nginx_user: nginx
|
nginx_user: nginx
|
||||||
virt_group: libvirt
|
virt_group: libvirt
|
||||||
|
@ -37,9 +37,9 @@
|
|||||||
copy: src={{ ipxe_dir }}/undionly.kpxe dest=/tftpboot/
|
copy: src={{ ipxe_dir }}/undionly.kpxe dest=/tftpboot/
|
||||||
# NOTE(TheJulia): Copy full iPXE chain loader images in case they are required.
|
# NOTE(TheJulia): Copy full iPXE chain loader images in case they are required.
|
||||||
- name: "Copy full iPXE image into /httpboot"
|
- name: "Copy full iPXE image into /httpboot"
|
||||||
copy: src={{ ipxe_dir }}/ipxe.pxe dest=/httpboot/
|
copy: src={{ ipxe_dir }}/{{ ipxe_full_binary }} dest=/httpboot/
|
||||||
- name: "Copy full iPXE image into /tftpboot"
|
- name: "Copy full iPXE image into /tftpboot"
|
||||||
copy: src={{ ipxe_dir }}/ipxe.pxe dest=/tftpboot/
|
copy: src={{ ipxe_dir }}/{{ ipxe_full_binary }} dest=/tftpboot/
|
||||||
# Similar logic to below can be utilized to retrieve files
|
# Similar logic to below can be utilized to retrieve files
|
||||||
- name: "Determine if folder exists, else create and populate folder."
|
- name: "Determine if folder exists, else create and populate folder."
|
||||||
stat: path=/tftpboot/master_images
|
stat: path=/tftpboot/master_images
|
||||||
|
Loading…
Reference in New Issue
Block a user