[PATCH v2 16/18] pxe: Refactor sysboot to have one helper