Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions data/os/Windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ windows:
gpu:
name: "538.15_grid_win10_win11_server2019_server2022_dch_64bit_international_azure_swl"
display_name: "NVIDIA Graphics Driver 538.15"
gpu_a10:
name: "553.62_grid_win10_win11_server2019_server2022_dch_64bit_international_azure_swl"
display_name: "NVIDIA Graphics Driver 553.62"
hg:
version: '6.9'
nssm:
Expand Down
20 changes: 20 additions & 0 deletions modules/roles_profiles/manifests/profiles/gpu_drivers_a10.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

class roles_profiles::profiles::gpu_drivers_a10 {
## NVIDIA A10 GPU (Standard_NV12ads_A10_v5) GRID drivers
## Use https://docs.nvidia.com/grid/index.html & https://github.com/Azure/azhpc-extensions/blob/master/NvidiaGPU/resources.json as reference
case $facts['os']['name'] {
'windows': {
class { 'win_packages::drivers::nvidia_grid':
display_name => lookup('windows.gpu_a10.display_name'),
driver_name => lookup('windows.gpu_a10.name'),
srcloc => lookup('windows.ext_pkg_src'),
}
}
default: {
fail("${$facts['os']['name']} not supported")
}
}
}
4 changes: 2 additions & 2 deletions modules/roles_profiles/manifests/roles/win116425h2azure.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
## https://bugzilla.mozilla.org/show_bug.cgi?id=1305485
include roles_profiles::profiles::files_system_managment
## gpu drivers are needed for gpu images
include roles_profiles::profiles::gpu_drivers
include roles_profiles::profiles::gpu_drivers_a10
## Change log level from verbose to whatever hiera lookup is
include roles_profiles::profiles::logging
## We need to configure the cache drive and hg-shared in this profile
Expand Down Expand Up @@ -46,7 +46,7 @@
include roles_profiles::profiles::app_privacy
include roles_profiles::profiles::azure_vm_agent
include roles_profiles::profiles::virtual_drivers
include roles_profiles::profiles::gpu_drivers
include roles_profiles::profiles::gpu_drivers_a10

# Skip OOBE
include roles_profiles::profiles::oobe
Expand Down