mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-10-05 02:01:04 +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
|
## 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
|
Requires https://github.com/Telmate/proxmox-api-go
|
||||||
|
|
||||||
```
|
```
|
||||||
go build -o terraform-provider-proxmox
|
go get github.com/Telmate/proxmox-api-go
|
||||||
cp terraform-provider-proxmox $GOPATH/bin
|
make
|
||||||
cp terraform-provider-proxmox $GOPATH/bin/terraform-provisioner-proxmox
|
|
||||||
```
|
```
|
||||||
|
|
||||||
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
|
Recommended ISO builder https://github.com/Telmate/terraform-ubuntu-proxmox-iso
|
||||||
|
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user