leonidlm / packer-builder-softlayer Goto Github PK
View Code? Open in Web Editor NEWA builder plugin for packer.io for a SoftLayer cloud
License: MIT License
A builder plugin for packer.io for a SoftLayer cloud
License: MIT License
Is it possible to keep the instance that we used to create the SoftLayer image instead of destroying it? I would like to keep it around so that I can do some troubleshooting. Is there an option that allows you to do this?
Hi,
I've followed your instructions to build the softlayer builder but I'm getting the following error.
$ go build -o ~/go/packer-builder-softlayer main.go
builder/softlayer/builder.go:263: cannot use artifact (type *Artifact) as type packer.Artifact in return argument:
*Artifact does not implement packer.Artifact (missing State method)
Can you shed any light on that for me?
Thanks
--Maurice--
Hello, I'm using IBM Cloud Bluemix / Softlayer services and I want to collaborate to make this Packer builder more usable, I make a pull request with some fixes to the package and docs updates.
I found some issues:
Hi leonidlem/chulkilee/mitchellh,
I have been trying to build packer softlayer plugin on CentOS 7. I have followed below steps:
wget https://storage.googleapis.com/golang/go1.5.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.5.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
mkdir work
export GOPATH=$HOME/work
cd work/
mkdir src bin pkg
Install Bazaar and Mercurial
yum install bzr
yum install mercurial
go get -u github.com/mitchellh/gox
Next, clone this repository into $GOPATH/src/github.com/mitchellh/packer
cd $GOPATH/src/github.com/mitchellh
git clone https://github.com/mitchellh/packer.git
cd packer
[root@deskt packer]# make updatedeps
When running above command I am getting below error:
ERROR: go get failed. Your git branch may have changed; you were on master (a55d2f1).
INFO: Currently on master (a55d2f1)
[root@deskt packer]#
If I re run this above command it is working.
Then running next command.
[root@deskt packer]# make
ok github.com/mitchellh/packer/provisioner/shell-local 0.005s
2015/08/24 05:10:18 ui: Restarting Machine
2015/08/24 05:10:18 ui: Waiting for machine to restart...
2015/08/24 05:10:18 Waiting for machine to reboot with timeout: 5m0s
2015/08/24 05:10:18 Waiting for machine to become available...
2015/08/24 05:10:18 ui: Machine successfully restarted, moving on
2015/08/24 05:10:18 ui: Restarting Machine
2015/08/24 05:10:18 ui: Waiting for machine to restart...
2015/08/24 05:10:18 Waiting for machine to reboot with timeout: 5m0s
2015/08/24 05:10:18 Waiting for machine to become available...
2015/08/24 05:10:18 ui: Machine successfully restarted, moving on
2015/08/24 05:10:18 ui: Restarting Machine
2015/08/24 05:10:18 ui: WinRM terminated
2015/08/24 05:10:18 ui: Restarting Machine
2015/08/24 05:10:18 ui: Waiting for machine to restart...
2015/08/24 05:10:18 Waiting for machine to reboot with timeout: 5m0s
2015/08/24 05:10:18 Waiting for machine to become available...
2015/08/24 05:10:18 ui error: Error waiting for WinRM: Machine did not restart properly
2015/08/24 05:10:18 ui: Restarting Machine
2015/08/24 05:10:18 ui: Waiting for machine to restart...
2015/08/24 05:10:18 Waiting for machine to reboot with timeout: 1ms
2015/08/24 05:10:18 Waiting for machine to become available...
2015/08/24 05:10:18 ui error: Timeout waiting for WinRM.
2015/08/24 05:10:18 Attempting to communicator to machine with: 'powershell.exe -EncodedCommand ZQBjAGgAbwAgACIAJAB7AGUAbgB2ADoAQwBPAE0AUABVAFQARQBSAE4AQQBNAEUAfQAgAHIAZQBzAHQAYQByAHQAZQBkAC4AIgA='
2015/08/24 05:10:18 ui: WinRM terminated
2015/08/24 05:10:18 Connected to machine
2015/08/24 05:10:18 Received interrupt Cancel()
--- FAIL: TestProvision_waitForCommunicatorWithCancel (0.01s)
provisioner_test.go:285: Should have err
2015/08/24 05:10:18 Retryable error: Still waiting 1 more times...
2015/08/24 05:10:18 Communicator wait cancelled, exiting loop
2015/08/24 05:10:18 Retryable error: Still waiting 0 more times...
2015/08/24 05:10:18 Retryable error: Still waiting 1 more times...
2015/08/24 05:10:18 Retryable error: Still waiting 0 more times...
2015/08/24 05:10:18 Received interrupt Cancel()
2015/08/24 05:10:18 ui: Restarting Machine
2015/08/24 05:10:18 ui: Waiting for machine to restart...
2015/08/24 05:10:18 Waiting for machine to reboot with timeout: 5m0s
2015/08/24 05:10:18 Waiting for machine to become available...
panic: test timed out after 15s
goroutine 68 [running]:
testing.startAlarm.func1()
/usr/local/go/src/testing/testing.go:703 +0x132
created by time.goFunc
/usr/local/go/src/time/sleep.go:129 +0x3a
goroutine 1 [chan receive]:
testing.RunTests(0x8e22b0, 0xa223e0, 0xe, 0xe, 0x0)
/usr/local/go/src/testing/testing.go:562 +0x8ad
testing.(M).Run(0xc8200d3ed8, 0x2231df1)
/usr/local/go/src/testing/testing.go:494 +0x70
main.main()
github.com/mitchellh/packer/provisioner/windows-restart/_test/_testmain.go:80 +0x116
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1
goroutine 5 [syscall]:
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37
goroutine 60 [chan receive]:
github.com/mitchellh/packer/provisioner/windows-restart.TestProvision_Cancel(0xc82007ecf0)
/root/work/src/github.com/mitchellh/packer/provisioner/windows-restart/provisioner_test.go:351 +0x3ba
testing.tRunner(0xc82007ecf0, 0xa22518)
/usr/local/go/src/testing/testing.go:456 +0x98
created by testing.RunTests
/usr/local/go/src/testing/testing.go:561 +0x86d
goroutine 83 [chan receive]:
github.com/mitchellh/packer/provisioner/windows-restart.TestProvision_Cancel.func1(0xc820100fc0, 0x0, 0x0)
/root/work/src/github.com/mitchellh/packer/provisioner/windows-restart/provisioner_test.go:336 +0x54
github.com/mitchellh/packer/provisioner/windows-restart.glob.func1.1(0xc8201251f0, 0xc820100fc0, 0xc82012bd50)
/root/work/src/github.com/mitchellh/packer/provisioner/windows-restart/provisioner.go:109 +0x56
created by github.com/mitchellh/packer/provisioner/windows-restart.glob.func1
/root/work/src/github.com/mitchellh/packer/provisioner/windows-restart/provisioner.go:111 +0x10d
goroutine 51 [chan receive]:
github.com/mitchellh/packer/provisioner/windows-restart.TestProvision_waitForRestartTimeout.func1(0xc820100c40, 0x0, 0x0)
/root/work/src/github.com/mitchellh/packer/provisioner/windows-restart/provisioner_test.go:201 +0x54
github.com/mitchellh/packer/provisioner/windows-restart.glob.func1.1(0xc820124a20, 0xc820100c40, 0xc82012ad20)
/root/work/src/github.com/mitchellh/packer/provisioner/windows-restart/provisioner.go:109 +0x56
created by github.com/mitchellh/packer/provisioner/windows-restart.glob.func1
/root/work/src/github.com/mitchellh/packer/provisioner/windows-restart/provisioner.go:111 +0x10d
goroutine 61 [select]:
github.com/mitchellh/packer/provisioner/windows-restart.glob.func1(0xc820100fc0, 0x0, 0x0)
/root/work/src/github.com/mitchellh/packer/provisioner/windows-restart/provisioner.go:119 +0x5b2
github.com/mitchellh/packer/provisioner/windows-restart.(Provisioner).Provision(0xc820100fc0, 0x7efff048cb08, 0xc820120c40, 0x7efff048cb50, 0xc820104dd0, 0x0, 0x0)
/root/work/src/github.com/mitchellh/packer/provisioner/windows-restart/provisioner.go:97 +0x352
github.com/mitchellh/packer/provisioner/windows-restart.TestProvision_Cancel.func2(0xc820124ed0, 0xc820100fc0, 0xc820120c40, 0xc820104dd0, 0xc8201292c0)
/root/work/src/github.com/mitchellh/packer/provisioner/windows-restart/provisioner_test.go:344 +0xa5
created by github.com/mitchellh/packer/provisioner/windows-restart.TestProvision_Cancel
/root/work/src/github.com/mitchellh/packer/provisioner/windows-restart/provisioner_test.go:346 +0x375
FAIL github.com/mitchellh/packer/provisioner/windows-restart 15.008s
ok github.com/mitchellh/packer/provisioner/windows-shell 0.165s
ok github.com/mitchellh/packer/template 0.005s
ok github.com/mitchellh/packer/template/interpolate 0.004s
make: *** [test] Error 1
[root@deskt packer]#
Can someone please help me to resolve this error?
Delete me if github ever allows admins to delete issues
Packer-builder-softlayer is not working with newer versions,
I am getting below error when i run
[root@hostname packer-builder-softlayer]# go build -o /usr/local/packer/packer-builder-softlayer main.go
builder/softlayer/builder.go:200:28: cannot use *communicator.StepConnect literal (type communicator.StepConnect) as type "github.com/hashicorp/multistep".Step in array or slice literal:
communicator.StepConnect does not implement "github.com/hashicorp/multistep".Step (wrong type for Cleanup method)
have Cleanup("github.com/hashicorp/packer/helper/multistep".StateBag)
want Cleanup("github.com/hashicorp/multistep".StateBag)
builder/softlayer/builder.go:202:8: cannot use commHost (type func("github.com/hashicorp/multistep".StateBag) (string, error)) as type func("github.com/hashicorp/packer/helper/multistep".StateBag) (string, error) in field value
builder/softlayer/builder.go:203:13: cannot use sshConfig (type func("github.com/hashicorp/multistep".StateBag) ("golang.org/x/crypto/ssh".ClientConfig, error)) as type func("github.com/hashicorp/packer/helper/multistep".StateBag) ("github.com/hashicorp/packer/vendor/golang.org/x/crypto/ssh".ClientConfig, error) in field value
builder/softlayer/builder.go:205:6: cannot use new(common.StepProvision) (type *common.StepProvision) as type "github.com/hashicorp/multistep".Step in array or slice literal:
*common.StepProvision does not implement "github.com/hashicorp/multistep".Step (wrong type for Cleanup method)
have Cleanup("github.com/hashicorp/packer/helper/multistep".StateBag)
want Cleanup("github.com/hashicorp/multistep".StateBag)
Any idea?
Continuing on issue from hashicorp/packer#1417
I am a little bit new to Go and not sure exactly how the structure should be, but it appears that lines 149, 180, and 222, which are pointing to json template files need to include the "src/github.com/leonidlm/packer-builder-softlayer" as part of the template path. I hard-coded it in as a workaround to my previous issue, but I don't know how my directory is meant to be structured otherwise or if I'm doing something else that's wrong. Thanks!
If you're willing to do the work to submit a PR, I will work to get it accepted.
The code only supports instance_disk_capacity. How can I specify two or more disks for provisioning (and imaging) purposes?
-jason
Steps to get me here:
$ 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
I tried installing the builder as per the instructions in the README but the build fails. Here is my output.
Amols-iMac:packer-builder-softlayer amol$ echo $GOPATH
/Users/amol/Documents/Development/go
Amols-iMac:packer-builder-softlayer amol$ pwd
/Users/amol/Documents/Development/go/src/github.com/leonidlm/packer-builder-softlayer
Amols-iMac:packer-builder-softlayer amol$ go build -o /usr/local/packer/packer-builder-softlayer main.go
# github.com/leonidlm/packer-builder-softlayer/builder/softlayer
builder/softlayer/builder.go:45: undefined: packer.ConfigTemplate
Amols-iMac:packer-builder-softlayer amol$ echo $?
2
Amols-iMac:packer-builder-softlayer amol$ go test ./...
# github.com/leonidlm/packer-builder-softlayer/builder/softlayer
builder/softlayer/builder.go:45: undefined: packer.ConfigTemplate
# github.com/leonidlm/packer-builder-softlayer/builder/softlayer
builder/softlayer/builder.go:45: undefined: packer.ConfigTemplate
I tried it with the Vagrantbox in case it is an environment issue but see the same error.
Amols-iMac:packer-builder-softlayer amol$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'chef/ubuntu-12.04' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
default: /opt/gopath/src/github.com/leonidlm/packer-builder-softlayer => /Users/amol/Documents/Development/go/src/github.com/leonidlm/packer-builder-softlayer
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: to force provisioning. Provisioners marked to run always will still run.
Amols-iMac:packer-builder-softlayer amol$ vagrant ssh
Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.11.0-15-generic x86_64)
* Documentation: https://help.ubuntu.com/
New release '14.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Fri Jun 12 12:25:51 2015 from 10.0.2.2
vagrant@vagrant:~$ cd /opt/gopath/src/github.com/leonidlm/packer-builder-softlayer
vagrant@vagrant:/opt/gopath/src/github.com/leonidlm/packer-builder-softlayer$ go build -o /usr/local/packer/packer-builder-softlayer main.go
# github.com/leonidlm/packer-builder-softlayer/builder/softlayer
builder/softlayer/builder.go:45: undefined: packer.ConfigTemplate
vagrant@vagrant:/opt/gopath/src/github.com/leonidlm/packer-builder-softlayer$ echo $?
2
to build this i had to
cd ~/go/src/github.com/mitchellh/packer
git checkout f8f7b7a34c1be06058f5aca23a51247db12cdbc5
I cloned the repository per instructions in Readme of this repo, and tried to build.
At first, I ran into these errors:
builder/softlayer/step_create_ssh_key.go:4:2: cannot find package "code.google.com/p/gosshold/ssh" in any of:
/aspera/usr/builder/packer/go/src/code.google.com/p/gosshold/ssh (from $GOROOT)
/aspera/usr/builder/packer/gopath/src/code.google.com/p/gosshold/ssh (from $GOPATH)
builder/softlayer/builder.go:6:2: cannot find package "github.com/mitchellh/multistep" in any of:
/aspera/usr/builder/packer/go/src/github.com/mitchellh/multistep (from $GOROOT)
/aspera/usr/builder/packer/gopath/src/github.com/mitchellh/multistep (from $GOPATH)
builder/softlayer/ssh.go:7:2: cannot find package "golang.org/x/crypto/ssh" in any of:
/aspera/usr/builder/packer/go/src/golang.org/x/crypto/ssh (from $GOROOT)
/aspera/usr/builder/packer/gopath/src/golang.org/x/crypto/ssh (from $GOPATH)
But then I ran these commands:
go get github.com/mitchellh/multistep go build github.com/mitchellh/multistep go get golang.org/x/crypto/ssh go build golang.org/x/crypto/ssh
I also replaced
"code.google.com/p/gosshold/ssh"
with "golang.org/x/crypto/ssh"
in step_create_ssh_key.go
, per instructions here: #27
However, now I'm running into this issue:
builder/softlayer/builder.go:202: cannot use commHost (type func("github.com/mitchellh/multistep".StateBag) (string, error)) as type func("github.com/mitchellh/packer/vendor/github.com/mitchellh/multistep".StateBag) (string, error) in field value
builder/softlayer/builder.go:203: cannot use sshConfig (type func("github.com/mitchellh/multistep".StateBag) (*"golang.org/x/crypto/ssh".ClientConfig, error)) as type func("github.com/mitchellh/packer/vendor/github.com/mitchellh/multistep".StateBag) (*"github.com/mitchellh/packer/vendor/golang.org/x/crypto/ssh".ClientConfig, error) in field value
builder/softlayer/builder.go:205: cannot use new(common.StepProvision) (type *common.StepProvision) as type "github.com/mitchellh/multistep".Step in array or slice literal:
*common.StepProvision does not implement "github.com/mitchellh/multistep".Step (wrong type for Cleanup method)
have Cleanup("github.com/mitchellh/packer/vendor/github.com/mitchellh/multistep".StateBag)
want Cleanup("github.com/mitchellh/multistep".StateBag)
What should i do to get builds running again?
Hi,
I'm currently encountering the following error in the image creation process with certain builds:
==> softlayer: Preparing for capturing the instance image. Image snapshot type is Flex.
==> softlayer: Waiting for an image (4397b92d-4217-4b7a-912f-da1fafd365d7) to finish it's creation...
==> softlayer: Error waiting for instance to become ACTIVE again after image creation call. Error: Timeout while waiting to for the instance to become ready
Any ideas? Thanks.
Your readme states:
As already stated above, a good way of reviewing the available options is by inspecting the output of the following API call:
curl https://<username>:<api_key>@api.softlayer.com/rest/v3/SoftLayer_Account/getCreateObjectOptions.json
(first off, that URL fails against softlayer. I believe the correct URL would be: https://${SL_USERNAME}:${SL_API_KEY}@api.softlayer.com/rest/v3/SoftLayer_Virtual_Guest/getCreateObjectOptions.json )
Real issue is that I don't see a way though the config or code to pass further options to SL. Specifically, I'm most interested in setting privateNetworkOnlyFlag to True. But others will be required.
I cloned the packer and packer-build-softlayer repositories and built using go1.3.1 linux/amd64. I tried to run packer build on a couple of samples but it fails as follows:
Sending new request to softlayer: https://xxxxx:[email protected]/rest/v3/SoftLayer_Virtual_Guest/createObject
packer-builder-softlayer: panic: interface conversion: interface is nil, not string
...
github.com/leonidlm/packer-builder-softlayer/builder/softlayer.(_stepCreateInstance).Run(0xc2080c6090, 0x7f0dca1d8830, 0xc2080ee2d0, 0x0)
github.com/leonidlm/packer-builder-softlayer/builder/softlayer/step_create_instance.go:50 +0x522
github.com/mitchellh/multistep.(_BasicRunner).Run(0xc20814e0c0, 0x7f0dca1d8830, 0xc2080ee2d0)
I am currently building off of a clean platform image every time I try to run a packer build with softlayer, but I was wondering if there would be any way for me to launch an image that I have already created, and then make changes via packer. I didn't see any reference to this in the README and was wondering if it's not an option right now or just not in README?
I can't see what license this code is released under. It would be helpful to describe this somewhere, especially for any corporate users.
I have installed and configured Go ( GOPATH, GOROOT configured) but still struggling to configure packer for Soft Layer. please give your insight.
Error:
[root@renbuild ~]# cd $GOPATH/src/github.com/leonidlm/packer-builder-softlayer
[root@renbuild packer-builder-softlayer]# go build -o /usr/local/packer/packer-builder-softlayer main.go
builder/softlayer/step_create_ssh_key.go:4:2: cannot find package "code.google.com/p/gosshold/ssh" in any of:
/usr/local/go/src/code.google.com/p/gosshold/ssh (from $GOROOT)
/usr/local/src/code.google.com/p/gosshold/ssh (from $GOPATH)
builder/softlayer/builder.go:6:2: cannot find package "github.com/mitchellh/multistep" in any of:
/usr/local/go/src/github.com/mitchellh/multistep (from $GOROOT)
/usr/local/src/github.com/mitchellh/multistep (from $GOPATH)
builder/softlayer/builder.go:7:2: cannot find package "github.com/mitchellh/packer/common" in any of:
/usr/local/go/src/github.com/mitchellh/packer/common (from $GOROOT)
/usr/local/src/github.com/mitchellh/packer/common (from $GOPATH)
builder/softlayer/step_create_ssh_key.go:11:2: cannot find package "github.com/mitchellh/packer/common/uuid" in any of:
/usr/local/go/src/github.com/mitchellh/packer/common/uuid (from $GOROOT)
/usr/local/src/github.com/mitchellh/packer/common/uuid (from $GOPATH)
builder/softlayer/builder.go:8:2: cannot find package "github.com/mitchellh/packer/helper/communicator" in any of:
/usr/local/go/src/github.com/mitchellh/packer/helper/communicator (from $GOROOT)
/usr/local/src/github.com/mitchellh/packer/helper/communicator (from $GOPATH)
builder/softlayer/builder.go:9:2: cannot find package "github.com/mitchellh/packer/helper/config" in any of:
/usr/local/go/src/github.com/mitchellh/packer/helper/config (from $GOROOT)
/usr/local/src/github.com/mitchellh/packer/helper/config (from $GOPATH)
builder/softlayer/builder.go:10:2: cannot find package "github.com/mitchellh/packer/packer" in any of:
/usr/local/go/src/github.com/mitchellh/packer/packer (from $GOROOT)
/usr/local/src/github.com/mitchellh/packer/packer (from $GOPATH)
main.go:5:2: cannot find package "github.com/mitchellh/packer/packer/plugin" in any of:
/usr/local/go/src/github.com/mitchellh/packer/packer/plugin (from $GOROOT)
/usr/local/src/github.com/mitchellh/packer/packer/plugin (from $GOPATH)
builder/softlayer/builder.go:11:2: cannot find package "github.com/mitchellh/packer/template/interpolate" in any of:
/usr/local/go/src/github.com/mitchellh/packer/template/interpolate (from $GOROOT)
/usr/local/src/github.com/mitchellh/packer/template/interpolate (from $GOPATH)
builder/softlayer/ssh.go:7:2: cannot find package "golang.org/x/crypto/ssh" in any of:
/usr/local/go/src/golang.org/x/crypto/ssh (from $GOROOT)
/usr/local/src/golang.org/x/crypto/ssh (from $GOPATH)
import cycle not allowed
package github.com/leonidlm/packer-builder-softlayer/builder/softlayer
imports bytes
imports errors
imports runtime
imports runtime/internal/atomic
imports runtime
[root@renbuild packer-builder-softlayer]#
HI
How to clone into $GOPATH/src/github.com/leonidlm/packer-builder-softlayer
Is there any command...
I'm attempting to set up packer-builder-softlayer and get the following errors:
$ sudo go build -o /usr/local/bin/packer-builder-softlayer main.go
builder/softlayer/step_create_ssh_key.go:4:2: cannot find package "code.google.com/p/gosshold/ssh" in any of:
/usr/lib/golang/src/code.google.com/p/gosshold/ssh (from $GOROOT)
($GOPATH not set)
builder/softlayer/builder.go:6:2: cannot find package "github.com/mitchellh/multistep" in any of:
/usr/lib/golang/src/github.com/mitchellh/multistep (from $GOROOT)
($GOPATH not set)
builder/softlayer/builder.go:7:2: cannot find package "github.com/mitchellh/packer/common" in any of:
/usr/lib/golang/src/github.com/mitchellh/packer/common (from $GOROOT)
($GOPATH not set)
builder/softlayer/step_create_ssh_key.go:11:2: cannot find package "github.com/mitchellh/packer/common/uuid" in any of:
/usr/lib/golang/src/github.com/mitchellh/packer/common/uuid (from $GOROOT)
($GOPATH not set)
builder/softlayer/builder.go:8:2: cannot find package "github.com/mitchellh/packer/helper/communicator" in any of:
/usr/lib/golang/src/github.com/mitchellh/packer/helper/communicator (from $GOROOT)
($GOPATH not set)
builder/softlayer/builder.go:9:2: cannot find package "github.com/mitchellh/packer/helper/config" in any of:
/usr/lib/golang/src/github.com/mitchellh/packer/helper/config (from $GOROOT)
($GOPATH not set)
builder/softlayer/builder.go:10:2: cannot find package "github.com/mitchellh/packer/packer" in any of:
/usr/lib/golang/src/github.com/mitchellh/packer/packer (from $GOROOT)
($GOPATH not set)
main.go:5:2: cannot find package "github.com/mitchellh/packer/packer/plugin" in any of:
/usr/lib/golang/src/github.com/mitchellh/packer/packer/plugin (from $GOROOT)
($GOPATH not set)
builder/softlayer/builder.go:11:2: cannot find package "github.com/mitchellh/packer/template/interpolate" in any of:
/usr/lib/golang/src/github.com/mitchellh/packer/template/interpolate (from $GOROOT)
($GOPATH not set)
builder/softlayer/ssh.go:7:2: cannot find package "golang.org/x/crypto/ssh" in any of:
/usr/lib/golang/src/golang.org/x/crypto/ssh (from $GOROOT)
($GOPATH not set)
Some packages like sshold don't seem to be available anymore, from what I can find. What's the best way to get this setup?
I'm on Centos 6.6.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.