File tree Expand file tree Collapse file tree 3 files changed +36
-23
lines changed
Expand file tree Collapse file tree 3 files changed +36
-23
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,28 @@ and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec
99
1010### Changed
1111
12- - Windows 2022 base image
13- - Add verify encoding script
14- - Rename folders
15- - Move Windows Server 2022 image to separate folder
16- - Update packer images folder structure
17- - Add packer init script
12+ - Windows 2022 base image for ` windows-server2022-v4.pkr.hcl `
13+ - Windows 2019 base image for ` windows-server2019-v4.pkr.hcl `
14+ - Verifies image Windows Server images integrity using ` scf scan ` and ` DISM `
15+ - Configures WinRM for Ansible as part of images
16+ - Images are tested using Terraform
17+ - Add encoding fix PowerShell script (removes BOM and fixes EOL)
18+ - Arrange images folder structure for better code maintainability
19+ - Each image contains ` README ` file with complete guide how to build it
20+ - Add PowerShell script for Packer init and validate images
21+
22+ ** Installed software v4**
23+
24+ - azure-cli
25+ - microsoft-edge
26+ - git
27+ - netfx-4.8-devpack
28+ - dotnet-6.0-sdk
29+ - powershell-core
30+ - winrar
31+ - notepadplusplus
32+ - sql-server-management-studio
33+ - azcopy10
1834
1935## v1.0.0 - In Progress
2036
Original file line number Diff line number Diff line change @@ -17,15 +17,13 @@ This repository contains a Packer template to build a custom Windows Server 2022
1717
1818### Build image (Run from the folder where ` versions.hcl ` file located)
1919
20- - Remove-Item -Path "$env: APPDATA \packer.d" -Recurse -Force
21- - $env: PACKER_LOG = "1"
22- - az group create --name "rg-packer-images-win" --location "northeurope"
23- - packer init .
24- - packer validate "./templates/windows-server2019-v1.pkr.hcl"
20+ - Setup required environment variables
21+ - ` .\Packer-Init-Validate.ps1 `
22+ - ` packer build .\tempates\windows-server2019-v4.pkr.hcl `
2523
2624### Test Image
2725
2826- From the root folder ` windows-2019 `
29- - terraform init
30- - terraform plan
31- - terraform apply
27+ - ` terraform init `
28+ - ` terraform plan `
29+ - ` terraform apply `
Original file line number Diff line number Diff line change @@ -17,14 +17,13 @@ This repository contains a Packer template to build a custom Windows Server 2022
1717
1818### Build image (Run from the folder where ` versions.hcl ` file located)
1919
20- - Remove-Item -Path "$env: APPDATA \packer.d" -Recurse -Force
21- - $env: PACKER_LOG = "1"
22- - az group create --name "rg-packer-images-win" --location "northeurope"
23- - packer init .
24- - packer validate "./templates/windows-server2022-v1.pkr.hcl"
25- - packer validate "./templates/windows-server2022-v2.pkr.hcl"
20+ - Setup required environment variables
21+ - ` .\Packer-Init-Validate.ps1 `
22+ - ` packer build .\tempates\windows-server2022-v4.pkr.hcl `
2623
27- ## Notes
24+ ### Test Image
2825
29- - Ensure Azure credentials are set as environment variables or securely stored.
30- - Modify variables.pkr.hcl to customize the build.
26+ - From the root folder ` windows-2019 `
27+ - ` terraform init `
28+ - ` terraform plan `
29+ - ` terraform apply `
You can’t perform that action at this time.
0 commit comments