Skip to content

Commit 1d2fc27

Browse files
committed
show how to exclude KB5007651
1 parent d074bd7 commit 1d2fc27

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ Use this provisioner plugin from your packer template file, e.g. like in [rgl/wi
3232
```hcl
3333
build {
3434
provisioner "windows-update" {
35+
filters = [
36+
# exclude KB5007651:
37+
# Update for Windows Security platform - KB5007651 (Version 10.0.29510.1001)
38+
# NB it can only be applied while the user is logged in.
39+
"exclude:$_.Title -like '*KB5007651*'",
40+
"include:$true",
41+
]
3542
}
3643
}
3744
```

0 commit comments

Comments
 (0)