From aa5755626205cefde0a58750c9bfd250aded01b4 Mon Sep 17 00:00:00 2001 From: Grant Gongaware Date: Mon, 7 Jan 2019 16:03:09 -0800 Subject: [PATCH] go install documents --- README.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a855cd4..0921525 100644 --- a/README.md +++ b/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 ```