Ok, it was supersimple 🙂

I just had to add “shutdown=on” to the pxelinux.cfg default file.