Skip to content

Commit e04d105

Browse files
added packer command for windows image hcl file
1 parent 65d4c9b commit e04d105

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

articles/virtual-machines/windows/build-image-with-packer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ Build the image by opening a cmd prompt and specifying your Packer template file
168168
```
169169
./packer build windows.json
170170
```
171+
You can also build the image by specifying the *windows.pkr.hcl* file as follows:
172+
173+
```
174+
packer build windows.pkr.hcl
175+
```
171176

172177
An example of the output from the preceding commands is as follows:
173178

0 commit comments

Comments
 (0)