Skip to content

Commit

Permalink
fix: windows pwsh provisioner
Browse files Browse the repository at this point in the history
Removes the PowerShell provisioner for Windows 11 and 10 as it's not required currently after the transition to Ansible.

Signed-off-by: Ryan Johnson <[email protected]>
  • Loading branch information
tenthirtyam committed Apr 15, 2024
1 parent 978b5d1 commit 48028ab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Release History

## v0.19.1

> Release Date: 2024-04-15
**Bug Fix**:

- Removes the PowerShell provisioner for Windows 11 and 10 as it's not required after the transition
to Ansible. [#878](https://github.com/vmware-samples/packer-examples-for-vsphere/pull/878)

## v0.19.0

> Release Date: 2024-04-09
Expand Down
6 changes: 0 additions & 6 deletions builds/windows/desktop/10/windows.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,6 @@ build {
"source.vsphere-iso.windows-desktop-ent",
]

provisioner "powershell" {
elevated_user = var.build_username
elevated_password = var.build_password
inline = var.inline
}

provisioner "ansible" {
user = var.build_username
galaxy_file = "${path.cwd}/ansible/windows-requirements.yml"
Expand Down
6 changes: 0 additions & 6 deletions builds/windows/desktop/11/windows.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,6 @@ build {
"source.vsphere-iso.windows-desktop-ent",
]

provisioner "powershell" {
elevated_user = var.build_username
elevated_password = var.build_password
inline = var.inline
}

provisioner "ansible" {
user = var.build_username
galaxy_file = "${path.cwd}/ansible/windows-requirements.yml"
Expand Down

0 comments on commit 48028ab

Please sign in to comment.