@krokodeilakias I don’t have a clue what’s wrong here because your code look right.
If we look at the error message it give me a few clues.
Chainloading failed…
In your script there are only 2 chain commands.
Image deployment works as expected
That would kind of indicate chain -ar https://192.168.61.38/fog/service/ipxe/boot.php##params || chain command is working as intended
but I can’t access Advanced Menu
Indicates that there is a problem with this line: chain -ar https://192.168.61.38/fog/service/ipxe/advanced.php || goto MENU The structure of the line seems OK, I can’t tell at the moment if there are any strange white space characters in there messing us up though.
Lets start out by calling that url directly from your browser, there might be something in the advanced.php program that is having a hard time causing the chain load to fail.