Adding specific compile notes for Windows;
This commit is contained in:
parent
84a3a2389a
commit
3a07cb9e0a
13
README.md
13
README.md
@ -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
|
Once you have installed Packer, you must compile this plugin and install the
|
||||||
resulting binary.
|
resulting binary.
|
||||||
|
|
||||||
|
Documentation for Plugins directory: [Official Docs](https://developer.hashicorp.com/packer/docs/configure#packer-s-plugin-directory)
|
||||||
|
|
||||||
|
### Linux/MacOS
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
go build -o packer-plugin-xenserver
|
go build -o packer-plugin-xenserver
|
||||||
|
|
||||||
@ -60,6 +64,15 @@ mkdir -p ~/.packer.d/plugins/
|
|||||||
cp packer-plugin-xenserver ~/.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
|
# Documentation
|
||||||
|
|
||||||
For complete documentation on configuration commands, see [the
|
For complete documentation on configuration commands, see [the
|
||||||
|
Loading…
Reference in New Issue
Block a user