packer-plugin-xenserver
packer-plugin-xenserver copied to clipboard
Added fix for build failing due to missing go-vnc
Fix for:
dzheng@dzheng-ubuntu-desktop:~/go/src/github.com/xenserver/packer-builder-xenserver$ ./build.sh
==> Removing old directory...
Number of parallel builds: 7
--> linux/amd64: github.com/xenserver/packer-builder-xenserver/plugin/builder-xenserver-xva
--> linux/amd64: github.com/xenserver/packer-builder-xenserver/plugin/builder-xenserver-iso
2 errors occurred:
--> linux/amd64 error: exit status 1
Stderr: builder/xenserver/common/step_type_boot_command.go:7:2: cannot find package "github.com/mitchellh/go-vnc" in any of:
/home/dzheng/go/src/github.com/xenserver/packer-builder-xenserver/vendor/github.com/mitchellh/go-vnc (vendor tree)
/usr/local/go/src/github.com/mitchellh/go-vnc (from $GOROOT)
/home/dzheng/go/src/github.com/mitchellh/go-vnc (from $GOPATH)
--> linux/amd64 error: exit status 1
Stderr: builder/xenserver/common/step_type_boot_command.go:7:2: cannot find package "github.com/mitchellh/go-vnc" in any of:
/home/dzheng/go/src/github.com/xenserver/packer-builder-xenserver/vendor/github.com/mitchellh/go-vnc (vendor tree)
/usr/local/go/src/github.com/mitchellh/go-vnc (from $GOROOT)
/home/dzheng/go/src/github.com/mitchellh/go-vnc (from $GOPATH)
Does this fix the problem of using xenserver with packer 1.0?
I'm not sure what you're referring to. Please be more specific with your problem.
I've been trying to use packer xen plugin with the packer 1.0 builds without success. not being much of go person i'm having trouble with it. thought this might fix it.
Hello, A merge would be welcome because this fix (#60) solve my issue with go-vnc missing.
Hi @Vagrantin , please try this fork instead: https://github.com/ctlam/packer-builder-xenserver
Hi @Vagrantin , please try this fork instead: https://github.com/ctlam/packer-builder-xenserver
Thanks, what is the goal of this fork, you mean this current repo is not maintained anymore ?
Please review for merge.
what is the goal of this fork
Hi @Vagrantin, I was at NVIDIA back in 2016 and we needed some new features / bug fixes to this repo. At the time, I made many Pull Requests, which remain unaddressed to this day.
If you look at the fork history, you'd see that
https://github.com/NVIDIA/packer-builder-xenserver --> comes from https://github.com/ctlam/packer-builder-xenserver --> comes from https://github.com/iyyuan/packer-builder-xenserver --> from my repo https://github.com/dongyuzheng/packer-builder-xenserver --> from this repo https://github.com/xenserver/packer-builder-xenserver
But https://github.com/ctlam/packer-builder-xenserver is the one most ahead right now, so that is the one I'd recommend.