Parcourir la source

Retrieve wimboot from upstream

Drops wimboot out of the tree and retrieve latest build
from the upstream location.
Antony Messerli il y a 4 ans
Parent
commit
6ec5a8f8c7

+ 1 - 0
roles/netbootxyz/defaults/main.yml

@@ -699,3 +699,4 @@ utilitiespcbios:
     util_path: http://mirror.sysadminguide.net/ubcd/ubcd538.iso
     version: '538'
 wimboot_location: http://${boot_domain}/wimboot
+wimboot_upstream_url: https://github.com/ipxe/wimboot/releases/latest/download/wimboot

BIN
roles/netbootxyz/files/wimboot


+ 5 - 1
roles/netbootxyz/tasks/generate_disks_base.yml

@@ -31,13 +31,17 @@
       - "{{ netbootxyz_root }}/ipxe"
       - "{{ cert_dir }}"
 
+  - name: Retreive latest wimboot
+    get_url:
+      url: "{{ wimboot_upstream_url }}"
+      dest: "{{ netbootxyz_root }}/wimboot"
+
   - name: Copy helper apps
     copy:
       src: "{{ item }}"
       dest: "{{ netbootxyz_root }}"
     with_items:
       - memdisk
-      - wimboot
 
   - name: Install required packages
     package: