Last active
August 29, 2015 13:59
-
-
Save rickard-von-essen/10444950 to your computer and use it in GitHub Desktop.
Patch for parallels-packer #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/builder/parallels/common/ssh.go b/builder/parallels/common/ssh.go | |
index ffd4909..796aaf7 100644 | |
--- a/builder/parallels/common/ssh.go | |
+++ b/builder/parallels/common/ssh.go | |
@@ -1,7 +1,7 @@ | |
package common | |
import ( | |
- gossh "code.google.com/p/go.crypto/ssh" | |
+ gossh "code.google.com/p/gosshold/ssh" | |
"fmt" | |
"github.com/mitchellh/multistep" | |
"github.com/mitchellh/packer/communicator/ssh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/builder/amazon/common/ssh.go b/builder/amazon/common/ssh.go | |
index 6756c62..65a30fe 100644 | |
--- a/builder/amazon/common/ssh.go | |
+++ b/builder/amazon/common/ssh.go | |
@@ -1,7 +1,7 @@ | |
package common | |
import ( | |
- gossh "code.google.com/p/go.crypto/ssh" | |
+ gossh "code.google.com/p/gosshold/ssh" | |
"errors" | |
"fmt" | |
"github.com/mitchellh/goamz/ec2" | |
diff --git a/builder/digitalocean/ssh.go b/builder/digitalocean/ssh.go | |
index 90de484..6f4ebff 100644 | |
--- a/builder/digitalocean/ssh.go | |
+++ b/builder/digitalocean/ssh.go | |
@@ -1,7 +1,7 @@ | |
package digitalocean | |
import ( | |
- gossh "code.google.com/p/go.crypto/ssh" | |
+ gossh "code.google.com/p/gosshold/ssh" | |
"fmt" | |
"github.com/mitchellh/multistep" | |
"github.com/mitchellh/packer/communicator/ssh" | |
diff --git a/builder/digitalocean/step_create_ssh_key.go b/builder/digitalocean/step_create_ssh_key.go | |
index 05e8b80..e686b1e 100644 | |
--- a/builder/digitalocean/step_create_ssh_key.go | |
+++ b/builder/digitalocean/step_create_ssh_key.go | |
@@ -1,7 +1,7 @@ | |
package digitalocean | |
import ( | |
- "code.google.com/p/go.crypto/ssh" | |
+ "code.google.com/p/gosshold/ssh" | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/x509" | |
diff --git a/builder/googlecompute/ssh.go b/builder/googlecompute/ssh.go | |
index 4254c91..642ba1a 100644 | |
--- a/builder/googlecompute/ssh.go | |
+++ b/builder/googlecompute/ssh.go | |
@@ -3,7 +3,7 @@ package googlecompute | |
import ( | |
"fmt" | |
- gossh "code.google.com/p/go.crypto/ssh" | |
+ gossh "code.google.com/p/gosshold/ssh" | |
"github.com/mitchellh/multistep" | |
"github.com/mitchellh/packer/communicator/ssh" | |
) | |
diff --git a/builder/googlecompute/step_create_ssh_key.go b/builder/googlecompute/step_create_ssh_key.go | |
index d8b2349..bbf048e 100644 | |
--- a/builder/googlecompute/step_create_ssh_key.go | |
+++ b/builder/googlecompute/step_create_ssh_key.go | |
@@ -1,7 +1,7 @@ | |
package googlecompute | |
import ( | |
- "code.google.com/p/go.crypto/ssh" | |
+ "code.google.com/p/gosshold/ssh" | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/x509" | |
diff --git a/builder/openstack/ssh.go b/builder/openstack/ssh.go | |
index 35876e3..1f22c10 100644 | |
--- a/builder/openstack/ssh.go | |
+++ b/builder/openstack/ssh.go | |
@@ -1,7 +1,7 @@ | |
package openstack | |
import ( | |
- gossh "code.google.com/p/go.crypto/ssh" | |
+ gossh "code.google.com/p/gosshold/ssh" | |
"errors" | |
"fmt" | |
"github.com/mitchellh/multistep" | |
diff --git a/builder/qemu/ssh.go b/builder/qemu/ssh.go | |
index 30eec13..3478c72 100644 | |
--- a/builder/qemu/ssh.go | |
+++ b/builder/qemu/ssh.go | |
@@ -1,7 +1,7 @@ | |
package qemu | |
import ( | |
- gossh "code.google.com/p/go.crypto/ssh" | |
+ gossh "code.google.com/p/gosshold/ssh" | |
"fmt" | |
"github.com/mitchellh/multistep" | |
"github.com/mitchellh/packer/communicator/ssh" | |
diff --git a/builder/virtualbox/common/ssh.go b/builder/virtualbox/common/ssh.go | |
index 79f6c46..ff3b9ac 100644 | |
--- a/builder/virtualbox/common/ssh.go | |
+++ b/builder/virtualbox/common/ssh.go | |
@@ -1,7 +1,7 @@ | |
package common | |
import ( | |
- gossh "code.google.com/p/go.crypto/ssh" | |
+ gossh "code.google.com/p/gosshold/ssh" | |
"fmt" | |
"github.com/mitchellh/multistep" | |
"github.com/mitchellh/packer/communicator/ssh" | |
diff --git a/builder/vmware/common/ssh.go b/builder/vmware/common/ssh.go | |
index 7bf8bac..b8bdeab 100644 | |
--- a/builder/vmware/common/ssh.go | |
+++ b/builder/vmware/common/ssh.go | |
@@ -1,7 +1,7 @@ | |
package common | |
import ( | |
- gossh "code.google.com/p/go.crypto/ssh" | |
+ gossh "code.google.com/p/gosshold/ssh" | |
"errors" | |
"fmt" | |
"io/ioutil" | |
diff --git a/builder/vmware/iso/driver_esx5.go b/builder/vmware/iso/driver_esx5.go | |
index 3314a7a..5587a2a 100644 | |
--- a/builder/vmware/iso/driver_esx5.go | |
+++ b/builder/vmware/iso/driver_esx5.go | |
@@ -3,7 +3,7 @@ package iso | |
import ( | |
"bufio" | |
"bytes" | |
- gossh "code.google.com/p/go.crypto/ssh" | |
+ gossh "code.google.com/p/gosshold/ssh" | |
"encoding/csv" | |
"errors" | |
"fmt" | |
diff --git a/common/step_connect_ssh.go b/common/step_connect_ssh.go | |
index 39e32a3..48724f8 100644 | |
--- a/common/step_connect_ssh.go | |
+++ b/common/step_connect_ssh.go | |
@@ -1,7 +1,7 @@ | |
package common | |
import ( | |
- gossh "code.google.com/p/go.crypto/ssh" | |
+ gossh "code.google.com/p/gosshold/ssh" | |
"errors" | |
"fmt" | |
"github.com/mitchellh/multistep" | |
diff --git a/communicator/ssh/communicator.go b/communicator/ssh/communicator.go | |
index 642b270..ca275d5 100644 | |
--- a/communicator/ssh/communicator.go | |
+++ b/communicator/ssh/communicator.go | |
@@ -3,7 +3,7 @@ package ssh | |
import ( | |
"bufio" | |
"bytes" | |
- "code.google.com/p/go.crypto/ssh" | |
+ "code.google.com/p/gosshold/ssh" | |
"errors" | |
"fmt" | |
"github.com/mitchellh/packer/packer" | |
diff --git a/communicator/ssh/communicator_test.go b/communicator/ssh/communicator_test.go | |
index 60612fd..5bf7de3 100644 | |
--- a/communicator/ssh/communicator_test.go | |
+++ b/communicator/ssh/communicator_test.go | |
@@ -4,7 +4,7 @@ package ssh | |
import ( | |
"bytes" | |
- "code.google.com/p/go.crypto/ssh" | |
+ "code.google.com/p/gosshold/ssh" | |
"github.com/mitchellh/packer/packer" | |
"net" | |
"testing" | |
diff --git a/communicator/ssh/keychain.go b/communicator/ssh/keychain.go | |
index f9965c0..31a4499 100644 | |
--- a/communicator/ssh/keychain.go | |
+++ b/communicator/ssh/keychain.go | |
@@ -1,7 +1,7 @@ | |
package ssh | |
import ( | |
- "code.google.com/p/go.crypto/ssh" | |
+ "code.google.com/p/gosshold/ssh" | |
"crypto" | |
"crypto/dsa" | |
"crypto/rsa" | |
diff --git a/communicator/ssh/keychain_test.go b/communicator/ssh/keychain_test.go | |
index 5f9ba3a..382c842 100644 | |
--- a/communicator/ssh/keychain_test.go | |
+++ b/communicator/ssh/keychain_test.go | |
@@ -1,7 +1,7 @@ | |
package ssh | |
import ( | |
- "code.google.com/p/go.crypto/ssh" | |
+ "code.google.com/p/gosshold/ssh" | |
"testing" | |
) | |
diff --git a/communicator/ssh/password_test.go b/communicator/ssh/password_test.go | |
index e55779e..26d6f05 100644 | |
--- a/communicator/ssh/password_test.go | |
+++ b/communicator/ssh/password_test.go | |
@@ -1,7 +1,7 @@ | |
package ssh | |
import ( | |
- "code.google.com/p/go.crypto/ssh" | |
+ "code.google.com/p/gosshold/ssh" | |
"reflect" | |
"testing" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd $GOPATH/src/github.com/mithcellh/packer | |
git apply < gosshold_packer.patch | |
cd $GOPATH/src/github.com/rickard-von-essen/packer-parallels | |
git apply < gosshold_packer-parallels.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment