mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-07-06 01:22:39 +00:00
go install documents
This commit is contained in:
parent
a6e3bd7d27
commit
aa57556262
19
README.md
19
README.md
|
@ -5,21 +5,26 @@ Terraform provider plugin for proxmox
|
|||
|
||||
## Working prototype
|
||||
|
||||
## Build
|
||||
|
||||
## Go Install
|
||||
|
||||
```
|
||||
go install github.com/Telmate/terraform-provider-proxmox/cmd/terraform-provider-proxmox
|
||||
go install github.com/Telmate/terraform-provider-proxmox/cmd/terraform-provisioner-proxmox
|
||||
```
|
||||
Note: this plugin is both a provider and provisioner in one, which is why it needs two install commands.
|
||||
|
||||
## Build local source
|
||||
|
||||
Requires https://github.com/Telmate/proxmox-api-go
|
||||
|
||||
```
|
||||
go build -o terraform-provider-proxmox
|
||||
cp terraform-provider-proxmox $GOPATH/bin
|
||||
cp terraform-provider-proxmox $GOPATH/bin/terraform-provisioner-proxmox
|
||||
go get github.com/Telmate/proxmox-api-go
|
||||
make
|
||||
```
|
||||
|
||||
Note: this plugin is both a provider and provisioner in one, which is why it needs to be in the $GOPATH/bin/ twice.
|
||||
|
||||
Recommended ISO builder https://github.com/Telmate/terraform-ubuntu-proxmox-iso
|
||||
|
||||
|
||||
## Run
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user