leonidlm / packer-builder-softlayer

A builder plugin for packer.io for a SoftLayer cloud
MIT License
38 stars 32 forks source link

Failure to compile on CentOS 7: undefined packer.ConfigTemplate #21

Closed zapman449 closed 8 years ago

zapman449 commented 8 years ago

Steps to get me here: 1) fresh vagrant box running cent7 2) install go v1.4 3) get packer to build (0.8.6) 4) Find and fix problem with ssh (builder/softlayer/ssh.go builder/softlayer/step_create_ssh_key.go both refer to "code.google.com/p/go.crypto/ssh". The 'right' version appears to be "golang.org/x/crypto/ssh") 5) clone this repo 6) run this command:

$ go build -o $GOPATH/bin main.go
# github.com/leonidlm/packer-builder-softlayer/builder/softlayer
builder/softlayer/builder.go:45: undefined: packer.ConfigTemplate
$ echo $?
2
zapman449 commented 8 years ago

Close me. This is a duplicate of #17

Chased the pull requests and found something that compiles.

cmluciano commented 8 years ago

Fixed with aaee0561423ff696e3f516895a9ef671b6d2afd6