Learners receive an error like "post-checkout hook found during git clone disallowed by default" around CreateWinServerVM when trying to create the Hyper-V VM.
The VM still gets created but create-vm.ps1 doesn't finish successfully and thus doesn't create the on-prem VM within Hyper-V.
The fix is to manually connect to the Azure VM and run the create-vm.ps1 script. It appears that the VM disk zip file does get downloaded to the repo before the script fails, so all of the assets should be in the C:\git folder.
My recommendation would be to add a note to Exercise 0 indicating that if there is an error in that step, to perform the manual fix. A new version of git lfs may obviate this issue, but in the meantime, deliveries of this training may still run into this problem.
Learners receive an error like "post-checkout hook found during git clone disallowed by default" around CreateWinServerVM when trying to create the Hyper-V VM.
The root cause is a Git security change that recently happened: https://github.com/git-lfs/git-lfs/issues/5749
The VM still gets created but create-vm.ps1 doesn't finish successfully and thus doesn't create the on-prem VM within Hyper-V.
The fix is to manually connect to the Azure VM and run the create-vm.ps1 script. It appears that the VM disk zip file does get downloaded to the repo before the script fails, so all of the assets should be in the C:\git folder.
My recommendation would be to add a note to Exercise 0 indicating that if there is an error in that step, to perform the manual fix. A new version of git lfs may obviate this issue, but in the meantime, deliveries of this training may still run into this problem.