Update README build instructions
This commit is contained in:
parent
f0149fa495
commit
d619e751e3
20
README.md
20
README.md
@ -38,14 +38,14 @@ Follow these instructions and install golang on your system:
|
|||||||
|
|
||||||
## Install Packer
|
## Install Packer
|
||||||
|
|
||||||
Visit https://packer.io and install the latest version of packer. Once the
|
Clone the Packer repository:
|
||||||
install has completed, setup an environment variable 'PACKERPATH' pointing
|
|
||||||
to the installation location. E.g.
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
export PACKERPATH=/usr/local/packer
|
git clone https://github.com/mitchellh/packer.git
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then follow the [instructions to build and install a development version of Packer](https://github.com/mitchellh/packer#developing-packer).
|
||||||
|
|
||||||
## Compile the plugin
|
## Compile the plugin
|
||||||
|
|
||||||
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
|
||||||
@ -58,11 +58,10 @@ cd src/github.com/rdobson
|
|||||||
git clone https://github.com/rdobson/packer-builder-xenserver.git
|
git clone https://github.com/rdobson/packer-builder-xenserver.git
|
||||||
cd packer-builder-xenserver
|
cd packer-builder-xenserver
|
||||||
./build.sh
|
./build.sh
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
If the build is successful, you should now have a 'packer-builder-xenserver' binary
|
If the build is successful, you should now have a `packer-builder-xenserver` binary
|
||||||
in your $PACKERPATH directory and you are ready to get going with packer.
|
in your `$GOPATH/bin` directory and you are ready to get going with packer.
|
||||||
|
|
||||||
## Centos 6.4 Example
|
## Centos 6.4 Example
|
||||||
|
|
||||||
@ -103,10 +102,3 @@ to build this VM with the following:
|
|||||||
```
|
```
|
||||||
packer build centos-6.4.conf
|
packer build centos-6.4.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user