File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,13 @@ Follow the instructions for your distribution:
58
58
59
59
## Building from source
60
60
61
- Before building, you will need the following
61
+ ### Requirements
62
+
63
+ - [ Terraform] ( https://www.terraform.io/downloads.html ) 0.11.x
64
+ - [ Go] ( https://golang.org/doc/install ) (to build the provider plugin)
65
+ - [ libvirt] ( https://libvirt.org/downloads.html ) 1.2.14 or newer development headers
66
+ - ` cgo ` is required by the [ libvirt-go] ( https://github.com/libvirt/libvirt-go ) package. ` export CGO_ENABLED="1" `
62
67
63
- * libvirt 1.2.14 or newer development headers
64
- * latest [ golang] ( https://golang.org/dl/ ) version
65
- * ` cgo ` is required by the [ libvirt-go] ( https://github.com/libvirt/libvirt-go ) package. ` export CGO_ENABLED="1" `
66
68
67
69
This project uses [ go modules] ( https://github.com/golang/go/wiki/Modules ) to vendor all its
68
70
dependencies.
@@ -74,8 +76,18 @@ takes advantage of features available only inside of the latest stable release.
74
76
75
77
You need also need libvirt-dev(el) package installed.
76
78
79
+ ###Building The Provider
80
+
81
+ Clone repository to: ` $GOPATH/src/github.com/dmacvicar/terraform-provider-libvirt `
82
+
83
+ ``` console
84
+ mkdir -p $GOPATH/src/github.com/dmacvicar; cd $GOPATH/src/github.com/dmacvicar
85
+ git clone [email protected] :dmacvicar/terraform-provider-libvirt
86
+ ```
87
+
88
+ Enter the provider directory and build the provider
89
+
77
90
``` console
78
- go get github.com/dmacvicar/terraform-provider-libvirt
79
91
cd $GOPATH/src/github.com/dmacvicar/terraform-provider-libvirt
80
92
make install
81
93
```
You can’t perform that action at this time.
0 commit comments