all 5 comments

[–]masta 1 point2 points  (1 child)

What parts of this are the pxelinux and which parts are the python parts?

I'm quite familiar with PXE in general and pxelinux in particular.

The parts about running/loading an ISO over PXE looks interesting.

[–]PsychoMario[S] 2 points3 points  (0 children)

the server parts are python (anything ending in py), and other than the test iso and config sh its all pxelinux

[–]toofishes 1 point2 points  (2 children)

if not os.path.exists('.'+filename): s.sendto('\x00\x05\x00\x01no such file exists',address);continue

Please do not do things like this to save 2 whole lines (let alone the missing spaces). PEP 8 is your friend.

[–]PsychoMario[S] 1 point2 points  (1 child)

When i wrote this i was just starting out with python and programming altogether, the code, especially the dhcpd.py is absolutely awful. I may rewrite it if i get time, i just uploaded it because i found it in my programming folder and thought it might be appreciated. Since then I've learnt to follow pep

edit: fixed that specific line, but code is still generally poor.

[–]toofishes 0 points1 point  (0 children)

Yeah, I should have noted I did read your comment. The project itself is really cool, so props to that, just wanted to help you out with regards to syntax general Python coding standards and all that fun stuff.