bertvv / ansible-role-pxeserver

Ansible role to set up a PXE server on RHEL/CentOS 7
https://galaxy.ansible.com/bertvv/pxeserver/
Other
38 stars 21 forks source link

loop.index and pxelinux #2

Open jirib opened 7 years ago

jirib commented 7 years ago

Hi,

I suppose your hotkey won't work if loop.index is not 0-9 as pxelinux allows only one and uniq character. So if you would have > 10 boot images you will have ^10 but it will be '^1' for pxelinux.

Maybe using 'cycler' in the template but i'm not sure how to put nicely inside '0-9a-z'.

bertvv commented 7 years ago

okay, I'll look into it. Thanks for reporting this!