diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2020-12-18 11:55:26 +0000 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-01-13 09:58:22 +0100 |
commit | 85d092864cddb8390c13915ead3b24b48d2b2306 (patch) | |
tree | 542dc24df029c5503a7859215dcaa33519632af2 /tests/units/test_0015_wrong_headers.py | |
parent | 1472ff276f73311e7122391b2623f11ab2828395 (diff) |
#802 add uefi folder for post_modes pxe template lookup
When executing og_cmd_post_modes ogServer is looking up for the template
related to the mode coming as a parameter. This lookup is only done for
the bios boot mode. (ie. /opt/opengnsys/tftpboot/menu.lst/templates/)
Templates can be created for a given boot mode, for example you can
create a UEFI-only template (it.
/opt/opengnsys/tftpboot/grub/templates).
When a UEFI only template was coming as a parameter to og_cmd_post_modes
the file can't be located because the UEFI template folder is never
tested.
Add UEFI folder to the lookup of pxe templates, try this folder if bios
mode fails.
PS: Later on a bash script "setclientmode" is to be executed, which will
take its own way of updating these pxe files (ie. templates/../), this
script updates every boot mode if an available template is found.
Diffstat (limited to 'tests/units/test_0015_wrong_headers.py')
0 files changed, 0 insertions, 0 deletions