Skip to content

Commit

Permalink
Merge pull request #119 from gusztavvargadr/feature/update-windows-is…
Browse files Browse the repository at this point in the history
…os-and-references-111-114-117

Update Windows ISOs and references #111 #114 #117
  • Loading branch information
gusztavvargadr authored Feb 12, 2019
2 parents 22a4658 + 827f060 commit 07204d6
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/gusztavvargadr/chef
Submodule chef updated 71 files
+1 −1 lib/gusztavvargadr/vagrant
+3 −0 samples/Policyfile.rb
+0 −2 samples/cookbooks/docker/attributes/images.rb
+1 −1 samples/cookbooks/docker/recipes/images.rb
+7 −7 samples/cookbooks/docker/resources/engine.rb
+7 −8 samples/cookbooks/docker/resources/image.rb
+5 −4 samples/cookbooks/docker/resources/images.rb
+0 −0 samples/cookbooks/docker_test/test/integration/images/hello_world_ps.rb
+0 −0 samples/cookbooks/docker_test/test/integration/images/hello_world_sh.rb
+2 −2 samples/cookbooks/iis/metadata.rb
+1 −1 samples/cookbooks/iis/recipes/server.rb
+5 −3 samples/cookbooks/iis/resources/server.rb
+2 −4 samples/cookbooks/iis_test/.kitchen.yml
+2 −2 samples/cookbooks/iis_test/metadata.rb
+2 −2 samples/cookbooks/mssql/metadata.rb
+1 −1 samples/cookbooks/mssql/recipes/2014_requirements.rb
+1 −1 samples/cookbooks/mssql/recipes/2017_ssms.rb
+1 −1 samples/cookbooks/mssql/resources/2014.rb
+1 −1 samples/cookbooks/mssql/resources/2017.rb
+2 −14 samples/cookbooks/mssql_test/.kitchen.yml
+2 −2 samples/cookbooks/mssql_test/metadata.rb
+0 −5 samples/cookbooks/mssql_test/test/integration/14x/engine.rb
+0 −0 samples/cookbooks/mssql_test/test/integration/2017-developer/listen.rb
+2 −2 samples/cookbooks/visualstudio/metadata.rb
+1 −1 samples/cookbooks/visualstudio/recipes/2015_requirements.rb
+1 −1 samples/cookbooks/visualstudio/recipes/2017_requirements.rb
+1 −1 samples/cookbooks/visualstudio/resources/2017.rb
+4 −6 samples/cookbooks/visualstudio_test/.kitchen.yml
+2 −2 samples/cookbooks/visualstudio_test/metadata.rb
+0 −2 samples/cookbooks/windows/attributes/chocolatey_packages.rb
+0 −2 samples/cookbooks/windows/attributes/environment_variables.rb
+0 −2 samples/cookbooks/windows/attributes/features.rb
+0 −2 samples/cookbooks/windows/attributes/files.rb
+0 −2 samples/cookbooks/windows/attributes/native_packages.rb
+0 −2 samples/cookbooks/windows/attributes/updates.rb
+2 −2 samples/cookbooks/windows/metadata.rb
+1 −1 samples/cookbooks/windows/recipes/chocolatey_packages.rb
+1 −1 samples/cookbooks/windows/recipes/environment_variables.rb
+1 −1 samples/cookbooks/windows/recipes/features.rb
+1 −1 samples/cookbooks/windows/recipes/files.rb
+1 −1 samples/cookbooks/windows/recipes/native_packages.rb
+18 −18 samples/cookbooks/windows/resources/chocolatey_package.rb
+6 −4 samples/cookbooks/windows/resources/chocolatey_packages.rb
+6 −6 samples/cookbooks/windows/resources/environment_variable.rb
+6 −4 samples/cookbooks/windows/resources/environment_variables.rb
+4 −4 samples/cookbooks/windows/resources/feature.rb
+6 −4 samples/cookbooks/windows/resources/features.rb
+4 −4 samples/cookbooks/windows/resources/file.rb
+6 −4 samples/cookbooks/windows/resources/files.rb
+18 −18 samples/cookbooks/windows/resources/native_package.rb
+6 −4 samples/cookbooks/windows/resources/native_packages.rb
+1 −1 samples/cookbooks/windows/resources/powershell_script_elevated.rb
+3 −5 samples/cookbooks/windows_test/.kitchen.yml
+2 −2 samples/cookbooks/windows_test/metadata.rb
+0 −11 samples/policies/Policyfile.hello_world.rb
+0 −13 samples/policies/Policyfile.windows_chocolatey_packages.rb
+0 −4 samples/policies/Policyfile.windows_chocolatey_packages.yml
+14 −0 samples/policies/Vagrantfile
+17 −0 samples/policies/development/Policyfile.install.rb
+15 −10 samples/policies/development/Policyfile.install.yml
+17 −0 samples/policies/infrastructure/Policyfile.install.rb
+57 −0 samples/policies/infrastructure/Policyfile.install.yml
+13 −0 samples/policies/vagrant.yml
+17 −0 samples/policies/workstation/Policyfile.install.rb
+12 −0 samples/policies/workstation/Policyfile.install.yml
+36 −1 samples/vagrant.rb
+0 −4 samples/workstations/Policyfile.install_chefdk.yml
+0 −18 samples/workstations/local/Policyfile.install_chef.rb
+0 −26 samples/workstations/local/Vagrantfile
+0 −7 samples/workstations/local/vagrant.yml
+3 −2 src/kitchen.vagrant.rb
1 change: 1 addition & 0 deletions src/u/packer/builders/hyperv/template.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"min_packer_version": "1.3.0",
"variables": {
"hyperv_ram_size": "4096",
"hyperv_enable_dynamic_memory": "false",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
default['gusztavvargadr_packer_w']['virtualbox_guest_additions'] = {
'version' => '5.2.22',
'version' => '5.2.26',
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

gusztavvargadr_windows_powershell_script_elevated 'Zeroing volume' do
code <<-EOH
sdelete -nobanner -z C:
sdelete -nobanner -p 3 -z C:
EOH
action :run
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
guest_additions_options node['gusztavvargadr_packer_w']['virtualbox_guest_additions']
action :install
end

gusztavvargadr_windows_chocolatey_package 'virtio-drivers' do
action :install
end
end
7 changes: 3 additions & 4 deletions src/w/packer/builders/amazon-ebs/userdata.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Write-Host "Install Chef Client"
choco install chef-client -y --version 14.3.37

Write-Host "Install 7zip"
choco install 7zip.portable -y --version 18.5
choco install 7zip.portable -y --version 18.6

Write-Host "Install sdelete"
choco install sdelete -y --version 2.01
choco install sdelete -y --version 2.01 --ignorechecksum

Write-Host "Configure network profiles"
Get-NetConnectionProfile | ForEach-Object { Set-NetConnectionProfile -InterfaceIndex $_.InterfaceIndex -NetworkCategory Private }
Expand All @@ -36,8 +36,7 @@ netsh advfirewall firewall delete rule name="Autounattend WinRM-HTTP"

Write-Host "Install OpenSSH"
netsh advfirewall firewall add rule name="Autounattend SSH" dir=in localport=22 protocol=TCP action=block
# choco install openssh -y --version 7.7.2.1 -params '"/SSHServerFeature /PathSpecsToProbeForShellEXEString:$env:windir\system32\windowspowershell\v1.0\powershell.exe"'
choco install openssh -y --version 7.7.2.1 -params '"/SSHServerFeature"'
choco install openssh -y --version 7.9.0.1 -params '"/SSHServerFeature"' # /PathSpecsToProbeForShellEXEString:$env:windir\system32\windowspowershell\v1.0\powershell.exe"'
sc.exe config sshd start= auto
net stop sshd
netsh advfirewall firewall delete rule name="Autounattend SSH"
Expand Down
1 change: 1 addition & 0 deletions src/w/packer/builders/hyperv/template.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"min_packer_version": "1.3.0",
"variables": {
"builder_source": "builders",
"builder_destination": "C:/Windows/Setup/packer",
Expand Down
7 changes: 3 additions & 4 deletions src/w/packer/builders/iso/floppy/Autounattend.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Write-Host "Install Chef Client"
choco install chef-client -y --version 14.3.37

Write-Host "Install 7zip"
choco install 7zip.portable -y --version 18.5
choco install 7zip.portable -y --version 18.6

Write-Host "Install sdelete"
choco install sdelete -y --version 2.01
choco install sdelete -y --version 2.01 --ignorechecksum

Write-Host "Configure network profiles"
Get-NetConnectionProfile | ForEach-Object { Set-NetConnectionProfile -InterfaceIndex $_.InterfaceIndex -NetworkCategory Private }
Expand All @@ -34,8 +34,7 @@ netsh advfirewall firewall delete rule name="Autounattend WinRM-HTTP"

Write-Host "Install OpenSSH"
netsh advfirewall firewall add rule name="Autounattend SSH" dir=in localport=22 protocol=TCP action=block
# choco install openssh -y --version 7.7.2.1 -params '"/SSHServerFeature /PathSpecsToProbeForShellEXEString:$env:windir\system32\windowspowershell\v1.0\powershell.exe"'
choco install openssh -y --version 7.7.2.1 -params '"/SSHServerFeature"'
choco install openssh -y --version 7.9.0.1 -params '"/SSHServerFeature"' # /PathSpecsToProbeForShellEXEString:$env:windir\system32\windowspowershell\v1.0\powershell.exe"'
sc.exe config sshd start= auto
net stop sshd
netsh advfirewall firewall delete rule name="Autounattend SSH"
Expand Down
4 changes: 2 additions & 2 deletions src/w1809de/packer/builders/iso/template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"variables": {
"iso_url": "https://software-download.microsoft.com/download/pr/17763.1.180914-1434.rs5_release_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso",
"iso_url": "https://software-download.microsoft.com/download/sg/17763.107.101029-1455.rs5_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso",
"iso_checksum_type": "sha1",
"iso_checksum": "b8a6ffac9e15240c39f2ed2b16204341f564208d"
"iso_checksum": "164f022a22d2305e6fbd82f6e35d530b6bbadca8"
}
}
4 changes: 2 additions & 2 deletions src/w1809ss/packer/builders/iso/template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"variables": {
"iso_url": "https://software-download.microsoft.com/download/pr/17763.1.180914-1434.rs5_release_SERVER_EVAL_x64FRE_en-us.iso",
"iso_url": "https://software-download.microsoft.com/download/sg/17763.253.190108-0006.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us.iso",
"iso_checksum_type": "sha1",
"iso_checksum": "c4834f538a90bb41f625144c9a2e0edf8bb9b9b5"
"iso_checksum": "91e3a2f1acc39af21353c7cc105c799494d7539f"
}
}

0 comments on commit 07204d6

Please sign in to comment.