`Start-OSDCloud`: Windows ESDs do not get cached to USB when using newer `-OSName` parameter

Abierto
#364 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
58/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
shell
Área
devops

Línea de trabajo

Start with the Start-OSDCloud function and compare how it handles -OSName against the legacy -OSBuild and -OSVersion path, looking for the step that caches the Windows ESD to USB. The issue also says non-NTFS USB drives fail the same way, so check that caching condition too. Done means that a -OSName or default-build run caches the ESD on an NTFS USB and reuses it on the next deployment, as the legacy path already does.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Describe the bug
If you run Start-OSDCloud using the newer -OSName parameter, or without specifying any specific version/build and allowing OSDCloud to select the latest available build, the ESD Windows download is never cached to the USB media. As a result, the ESD is re-downloaded on every deployment.

Choosing the same build via the legacy parameters -OSBuild and -OSVersion caches the windows ESD correctly and re-uses it on subsquent deployments.

To Reproduce
Steps to reproduce the behavior:

  1. Boot OSDCloud media
  2. Run Start-OSDCloud with -OSName or no OS version parameters

Expected behavior
Windows build should be cached to USB for faster subsequent builds/lower network traffic

Additional context

  • No error or warning is shown when the image is not cached; the caching step is just silently skipped.
  • The same behavior occurs if the USB drive is not formatted as NTFS.
  • The issue does not occur when using the legacy -OSBuild and -OSVersion parameters.
Lenguaje dominante
PowerShell
Estrellas
251
Forks
102
Merge medio
2 min
PR fusionados (30 d)
4

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OSDeploy/OSD

Todos los issues de OSDeploy/OSD

Issues similares

Más issues de DevOps

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.