Megan Marsh
0cfe8e7070
allow ssh_host override for OpenStack
2019-07-02 14:00:51 -07:00
Adrien Delorme
41f6e0334d
refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
...
* still need to append the auth methods into an array for gracefullness
2018-08-22 17:02:23 +02:00
Andrei Ozerov
0eef9b4292
OpenStack builder: floating IP refactoring
...
Remove usage of the deprecated OpenStack Compute service floating IP
management and add methods to work with the OpenStack Networking
service floating IPs API.
Remove usage of the deprecated OpenStack Compute service floating IP
pools and add methods to work with the OpenStack Networking service
external networks API.
Move reusable logic of working with the OpenStack Networking service API
to a separate methods in the networking.go file.
Pass error messages from the API services to the ui messages in the
allocate IP step.
2018-08-16 22:15:26 +03:00
Matthew Hooker
366dc3da0a
move multistep imports to helper.
...
gomvpkg -from "github.com/mitchellh/multistep" -to "github.com/hashicorp/packer/helper/multistep"
2018-01-24 17:09:15 -08:00
Matthew Hooker
ee5d13611f
update ssh client usage for new crypto/ssh version
2017-05-18 12:01:44 -07:00
Matthew Hooker
81522dced0
move packer to hashicorp
2017-04-04 13:39:01 -07:00
Larry Bordowitz
c5b8a1069a
Add ssh agent to enable SSH-CA authentication.
2017-03-10 08:45:50 -08:00
Zanetti, David
01e3e7f7a3
Second part of resync of gophercloud
2016-12-13 14:06:01 -08:00
Rickard von Essen
ba8cfbd222
builder/openstack: Support using SSH password.
...
This adds support for using ssh_password to connect to a OpenStack
instance. If ssh_password is defined creation of the temporary keypair
is skipped.
2016-10-08 23:18:19 +02:00
Nathan Mische
335a2010bf
Moving SSH IP version validation to prepare function.
2016-02-17 10:52:29 +01:00
Nathan Mische
8396a2db1e
Adding ability to select IP version for SSH connections to OpenStack instances. Addresses #3047
2016-02-17 10:28:18 +01:00
Rickard von Essen
c3bc87cb71
OpenStack: Change some log messages about SSH to connect.
2016-02-16 10:55:21 +01:00
Chris Bednarski
5cd6e19467
Merge pull request #2451 from monsterzz/b-openstack-ipv6-ssh-support
...
Fix handling IPv6 when ssh_interface set (openstack builder)
2015-07-30 14:36:17 -07:00
Hazel Smith
ce54dba2d3
openstack builder: log which IP address SSH will use
2015-07-27 23:00:06 +01:00
Gleb M Borisov
8495a8c919
Fix handling IPv6 when ssh_interface set (openstack builder)
2015-07-15 02:11:46 +03:00
Mitchell Hashimoto
d8cc24f86e
builder/openstack: no more port
2015-06-15 09:34:35 -07:00
Mitchell Hashimoto
5167c65f87
Merge branch 'b-openstack-privage'
2015-06-15 09:33:58 -07:00
Mitchell Hashimoto
115d583cff
helper/communicator: make host more generic
2015-06-13 19:23:33 -04:00
Mitchell Hashimoto
2c683c5057
builder/openstack: prioritize ssh interfaces
2015-06-12 14:28:27 -04:00
Mitchell Hashimoto
31abc93f50
builder/openstack: support ssh_interface [GH-2087]
2015-06-12 14:22:32 -04:00
Mitchell Hashimoto
5d32a1f6e0
builder/openstack: use IP not FixedIP
2015-06-12 10:02:04 -04:00
Mitchell Hashimoto
a0d41fcd14
builder/openstack
2015-06-12 00:16:43 -04:00
Mitchell Hashimoto
23a48d6619
go fmt
2015-06-08 21:34:20 -07:00
jszwedko
b1497b951c
code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh
...
code.google.com/p/go.crypto/ssh is now at golang.org/x/crypto/ssh as of
https://code.google.com/p/go/source/detail?spec=svn.crypto.69e2a90ed92d03812364aeb947b7068dc42e561e&repo=crypto&r=8fec09c61d5d66f460d227fd1df3473d7e015bc6
Using the code.google.com import redirects properly, but runs into
issues if you try to use a subpackage of `ssh`, e.g. `agent` which
refers to golang.org/x/crypto/ssh causing conflicts if your types expect
code.google.com/p/go.crypto/ssh.
This is a precursor to a PR for #1066 .
2015-05-28 08:17:49 -07:00
Tom Dooner
6e92e60eef
Add Rackconnect support
...
This adds two config options that we need in order to successfully build
our Rackspace images.
First, a boolean `rackconnect_wait` option which waits for the
RackConnect metadata to appear.
Second, an `ssh_interface` option, for rackconnect users who have more
prohibitive firewalls on the 'public' interface and want to ensure all
traffic to the server goes over the 'private' one.
Finishes #952 .
2015-02-17 05:23:21 +00:00
Mitchell Hashimoto
b06cceec25
builder/openstack: lock to fork for now to compile [GH-1625]
2014-10-27 16:40:49 -07:00
Ian Delahorne
8bf935beb8
Force IPv4 addresses from address pools in Openstack. Fixes #1258
...
Rackspace defaults to a public IPv4 and IPv6 address. These are returned in
random order, with the sprintf further on generating an incorrect connection
string if on IPv6. Force IPv4 until support for correct connection strings and
a configuration flag for logging in over IPv6 is added.
2014-06-15 02:12:52 -05:00
Ben Broderick Phillips
fc4b2e1569
Add flexible IP pool/address handling.
2014-04-28 15:20:44 -07:00
higebu
f087ce16dc
Fix the build problem by updating ssh package
2014-04-15 10:17:26 +09:00
Justin Santa Barbara
27dd2aa30f
Support IPv6 access address for Openstack
...
We still prefer the IPv4 address, but if there is an IPv6 address and no IPv4 address, use IPv6.
2013-08-31 22:39:30 -07:00
Mitchell Hashimoto
77f7f24990
builder/openstack: new multistep API
2013-08-31 12:37:07 -07:00
Mark Peek
276c023d84
builder/openstack: simplify by passing csp instead of accessor and api
2013-08-27 22:37:06 -07:00
Mark Peek
4b7da04052
Add base support for openstack [GH-155]
...
This change adds base support for an openstack builder.
Thank you to Rackspace for providing cloud assets to complete this work
and @sam-falvo for working with us on the perigee/gophercloud changes.
2013-08-26 21:57:23 -07:00