diff --git a/appveyor.yml b/appveyor.yml index 795de02..289c603 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -18,7 +18,8 @@ install: - ps: iex (irm https://omnitruck.chef.io/install.ps1); Install-Project -Project chefdk -channel current - ps: 'Get-CimInstance win32_operatingsystem -Property Caption, OSArchitecture, Version | fl Caption, OSArchitecture, Version' - ps: $PSVersionTable - - c:\opscode\chefdk\bin\chef.bat exec --chef-license accept ruby --version + - ps: '$env:CHEF_LICENSE = "accept"' + - c:\opscode\chefdk\bin\chef.bat exec ruby --version - ps: secedit /export /cfg $env:temp/export.cfg - ps: ((get-content $env:temp/export.cfg) -replace ('PasswordComplexity = 1', 'PasswordComplexity = 0')) | Out-File $env:temp/export.cfg - ps: ((get-content $env:temp/export.cfg) -replace ('MinimumPasswordLength = 8', 'MinimumPasswordLength = 0')) | Out-File $env:temp/export.cfg