packer-plugin-xenserver icon indicating copy to clipboard operation
packer-plugin-xenserver copied to clipboard

Build error

Open deepix opened this issue 9 years ago • 0 comments

I'm on Ubuntu 14.04 and I had to make this change for it to work -

$ git diff
diff --git a/build.sh b/build.sh
index 4fdbcc3..eebefa2 100755
--- a/build.sh
+++ b/build.sh
@@ -32,7 +32,7 @@ case $(uname) in
         ;;
 esac
 OLDIFS=$IFS
-IFS=: MAIN_GOPATH=($GOPATH)
+IFS=: MAIN_GOPATH=$GOPATH
 IFS=$OLDIFS

 # Copy our OS/Arch to the bin/ directory
diff --git a/builder/xenserver/common/step_start_on_himn.go b/builder/xenserver/common/step_start_on_himn.go
index 50b5aee..e39c154 100644
--- a/builder/xenserver/common/step_start_on_himn.go
+++ b/builder/xenserver/common/step_start_on_himn.go
@@ -1,7 +1,7 @@
 package common

 import (
-       gossh "code.google.com/p/go.crypto/ssh"
+       gossh "golang.org/x/crypto/ssh"
        "fmt"
        "github.com/mitchellh/multistep"
        "github.com/mitchellh/packer/packer"

deepix avatar Jan 28 '16 08:01 deepix