From 4b5df86e7197bfeee6c7679fc5666cf87a8353fd Mon Sep 17 00:00:00 2001 From: Xavier Pillons Date: Thu, 21 Jul 2022 16:56:15 +0200 Subject: [PATCH] install NFS client --- .../projects/common/cluster-init/scripts/3-joindomain.bat.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/roles/cyclecloud_cluster/projects/common/cluster-init/scripts/3-joindomain.bat.j2 b/playbooks/roles/cyclecloud_cluster/projects/common/cluster-init/scripts/3-joindomain.bat.j2 index b98e008ff..b7cee2ed8 100644 --- a/playbooks/roles/cyclecloud_cluster/projects/common/cluster-init/scripts/3-joindomain.bat.j2 +++ b/playbooks/roles/cyclecloud_cluster/projects/common/cluster-init/scripts/3-joindomain.bat.j2 @@ -22,5 +22,9 @@ Powershell.exe -executionpolicy remotesigned try { $ProgressPreference = 'Silent call C:\cycle\jetpack\bin\jetpack log "Install the driver silently /s and don't reboot /n" 472.39_grid_win11_win10_64bit_Azure-SWL.exe /s /n +:: Enable NFS Client +call C:\cycle\jetpack\bin\jetpack log "Enable NFS Client" +Powershell.exe -executionpolicy remotesigned try { Enable-WindowsOptionalFeature -FeatureName ServicesForNFS-ClientOnly, ClientForNFS-Infrastructure -Online -NoRestart } catch { exit 255 } + call C:\cycle\jetpack\bin\jetpack log "Reboot" shutdown /r /f /t 0 /c "Reboot after domain join"