`Invoke-OSDCloud` ignores Microsoft Update Catalog settings chosen in OSDCloudGUI and always downloads Update Catalog drivers
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Stack tecnológico
- powershell
- Área
- infrastructure
Línea de trabajo
La discrepancia está entre las claves que se establecen en Projects/OSDCloudGUI/MainWindow.ps1 (updateDiskDrivers, updateFirmware, updateNetworkDrivers, updateSCSIDrivers) y las claves de Master Settings (MSCatalogFirmware, MSCatalogDiskDrivers, MSCatalogNetDrivers, MSCatalogScsiDrivers) en Public/OSDCloud.ps1. Empieza buscando en el módulo cada clave MSCatalog para ver dónde se lee y, después, asigna los valores de la GUI a esas claves en un único lugar. Se considera terminado cuando desactivar las opciones de la GUI omite las descargas de Update Catalog y el comportamiento predeterminado se mantiene sin cambios cuando no se usa la GUI.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
Disabling any of the Microsoft Update Catalog options in the GUI after a Start-OSDCloudGUI has no effect and clicking Start causes Invoke-OSDCloud to download all the Microsoft Update Catalog drivers/firmware regardless.
To Reproduce
Steps to reproduce the behavior:
- Build an ISO with
Edit-OSDCloudWinPE -StartOSDCloudGUI(and whatever other parameters you like). - Boot from it.
- Make sure a device-specific driver pack is selected in the GUI.
- Disable all the Microsoft Update Catalog options in the GUI, i.e. "update Disk Drivers, update System Firmware, updateNetworkDrivers, update SCSIAdapter Drivers".
- Click Start.
Expected behavior
Invoke-OSDCloud does not download any drivers/firmware from the Microsoft Update Catalog.
Actual behavior
Invoke-OSDCloud ignores your choices and downloads all the drivers/firmware from the Microsoft Update Catalog.
I believe this is occurring because Projects/OSDCloudGUI/MainWindow.ps1 sends the following settings keys to Invoke-OSDCloud:
updateDiskDrivers = [System.Boolean]$formMainWindowControlupdateDiskDrivers.IsChecked
updateFirmware = [System.Boolean]$formMainWindowControlupdateFirmware.IsChecked
updateNetworkDrivers = [System.Boolean]$formMainWindowControlupdateNetworkDrivers.IsChecked
updateSCSIDrivers = [System.Boolean]$formMainWindowControlupdateSCSIDrivers.IsChecked
but in Public/OSDCloud.ps1 the following "Master Settings" keys are set and later evaluated:
MSCatalogFirmware = $true
MSCatalogDiskDrivers = $true
MSCatalogNetDrivers = $true
MSCatalogScsiDrivers = $true
So, because the key names coming from the GUI are different to the key names used in Invoke-OSDCloud, the Master Settings never get overwritten by the GUI choices, meaning the conditions that check whether to execute the Microsoft Update Catalog downloads always see the default $true values.
Looks like the key names in MainWindows.ps1 were changed 3 years ago (6f003fa) but were never updated to match in OSDCloud.ps1.
- 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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de OSDeploy/OSD
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
-
Update Invoke-OSDCloudIPUPosiblemente ocupada @OSDeploy la tomó hace 4 días. Abierto
Todos los issues de OSDeploy/OSD
Issues similares
-
ci contract good first issue tooling
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
idea-scout idea:339
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
jeanibarz/agent-notebook#339 ·
Los mantenedores suelen responder en 1 día
-
data-engineering
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
mattabate/life-distributable#169 ·
Los mantenedores suelen responder en 1 día
-
complexity: trivial help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
dunia-hub/stellar-402-live#46 ·
Los mantenedores suelen responder en 1 día