From d619e751e360e60d7dc0398c65ebac04a66e9f8f Mon Sep 17 00:00:00 2001 From: Cheng Sun Date: Fri, 2 Jan 2015 13:47:29 +0000 Subject: [PATCH] Update README build instructions --- README.md | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 7554112..cd71f16 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,14 @@ Follow these instructions and install golang on your system: ## Install Packer -Visit https://packer.io and install the latest version of packer. Once the -install has completed, setup an environment variable 'PACKERPATH' pointing -to the installation location. E.g. +Clone the Packer repository: ```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 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 cd packer-builder-xenserver ./build.sh - ``` -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. +If the build is successful, you should now have a `packer-builder-xenserver` binary +in your `$GOPATH/bin` directory and you are ready to get going with packer. ## Centos 6.4 Example @@ -103,10 +102,3 @@ to build this VM with the following: ``` packer build centos-6.4.conf ``` - - - - - - -