startnet: map Y: before status push and preflight on every path

The gea-standard/gea-engineer path (purpose -> tenant -> enroll_staged)
never mapped the enrollment share, so winpe-status-push.ps1 and
preflight.ps1 silently skipped those builds. Map it at :end if absent.
This commit is contained in:
cproudlock
2026-10-09 09:59:11 -04:00
parent f0c049376c
commit 6fac73c947
2 changed files with 7 additions and 3 deletions

View File

@@ -449,6 +449,11 @@ goto end
:end
echo.
REM Map the enrollment share for the status push and preflight below. The
REM shopfloor/enroll menus map it earlier; the gea-standard/gea-engineer
REM path (purpose -> tenant -> enroll_staged) never did, so neither ran.
if not exist Y:\ net use Y: \\%PXESERVER%\enrollment /user:%SHAREUSER% %SHAREPASS% /persistent:no >NUL 2>&1
REM --- Push initial "WinPE staging" status to PXE webapp ---
REM Externalized to Y:\scripts\winpe-status-push.ps1 so future edits don't
REM require a boot.wim rebuild. Best-effort; the script logs to