microsoft / nav-arm-templates

ARM (Azure Resource Manager) templates for Microsoft Dynamics NAV
MIT License
54 stars 55 forks source link

Git Commands fail for Workshop Machines #126

Closed gunnargestsson closed 5 years ago

gunnargestsson commented 5 years ago

In script

https://github.com/microsoft/nav-arm-templates/blob/master/additional-install.ps1

the last three lines fail

& git config --global core.safecrlf false & git config --global user.email "$($vmAdminUsername)@$($hostName)" & git config --global user.name "$vmAdminUsername"

8:24:26 PM at , C:\demo\setupVm.ps1: line 255 8:24:26 PM at , C:\demo\FinalSetupScript.ps1: line 32 8:24:26 PM The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Perhaps you need the full path to C:\Program Files\Git\bin\git.exe

freddydk commented 5 years ago

have included the PR, thanks