Skip to content

Commit 48028ab

Browse files
committed
fix: windows pwsh provisioner
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 <ryan.johnson@broadcom.com>
1 parent 978b5d1 commit 48028ab

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Release History
22

3+
## v0.19.1
4+
5+
> Release Date: 2024-04-15
6+
7+
**Bug Fix**:
8+
9+
- Removes the PowerShell provisioner for Windows 11 and 10 as it's not required after the transition
10+
to Ansible. [#878](https://github.com/vmware-samples/packer-examples-for-vsphere/pull/878)
11+
312
## v0.19.0
413

514
> Release Date: 2024-04-09

builds/windows/desktop/10/windows.pkr.hcl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,12 +286,6 @@ build {
286286
"source.vsphere-iso.windows-desktop-ent",
287287
]
288288

289-
provisioner "powershell" {
290-
elevated_user = var.build_username
291-
elevated_password = var.build_password
292-
inline = var.inline
293-
}
294-
295289
provisioner "ansible" {
296290
user = var.build_username
297291
galaxy_file = "${path.cwd}/ansible/windows-requirements.yml"

builds/windows/desktop/11/windows.pkr.hcl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,6 @@ build {
290290
"source.vsphere-iso.windows-desktop-ent",
291291
]
292292

293-
provisioner "powershell" {
294-
elevated_user = var.build_username
295-
elevated_password = var.build_password
296-
inline = var.inline
297-
}
298-
299293
provisioner "ansible" {
300294
user = var.build_username
301295
galaxy_file = "${path.cwd}/ansible/windows-requirements.yml"

0 commit comments

Comments
 (0)