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:
@@ -2,9 +2,8 @@
|
||||
# its Hardware Coverage page can flag models with no driver pack or BIOS.
|
||||
#
|
||||
# Called by check-bios.cmd, which every WinPE boot runs from the BIOS share
|
||||
# before the imaging menu. That is deliberate: the enrollment share (Y:,
|
||||
# where winpe-status-push.ps1 lives) is never mapped on the gea-standard /
|
||||
# gea-engineer path, so anything hung off Y: misses those builds.
|
||||
# before the imaging menu, so it reports every boot - including ones that
|
||||
# never pick an image - rather than only those that reach the Y: status push.
|
||||
#
|
||||
# Sends the exact WMI model PESetup matches driver packs on, the Dell
|
||||
# system SKU (what Dell's catalogs key on) and the BIOS version. Runs in
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user