Adding specific compile notes for Windows;

This commit is contained in:
Arden Shackelford 2024-01-09 20:53:25 -06:00
parent 84a3a2389a
commit 3a07cb9e0a
No known key found for this signature in database
GPG Key ID: 0ECC325C1996BBFD

View File

@ -52,6 +52,10 @@ If you are using an older version of packer or are still using json templates yo
Once you have installed Packer, you must compile this plugin and install the
resulting binary.
Documentation for Plugins directory: [Official Docs](https://developer.hashicorp.com/packer/docs/configure#packer-s-plugin-directory)
### Linux/MacOS
```shell
go build -o packer-plugin-xenserver
@ -60,6 +64,15 @@ mkdir -p ~/.packer.d/plugins/
cp packer-plugin-xenserver ~/.packer.d/plugins
```
### Windows (Powershell)
```powershell
go build -o packer-plugin-xenserver
mkdir "%APPDATA%\packer.d\plugins"
cp packer-plugin-xenserver "%APPDATA%\packer.d\plugins"
```
# Documentation
For complete documentation on configuration commands, see [the