Matthew Hooker
7a189a83a1
fix imports
...
`find . -type f -name '*.go' -not -path "./vendor/*" -exec goimports -w {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker
a831d522be
change run signatures
...
Run now takes a context as well as a statebag. We'll assign the context
to the blank identifier to prevent namespace collisions. We'll let the
step authors opt-in to using the context.
`find . -iname "step_*.go" -exec gsed -i'' 's/func \(.*\)Run(/func \1Run(_ context.Context, /' {} \;`
2018-01-24 17:09:17 -08: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
Rickard von Essen
516bf52115
Merge pull request #5173 from rickard-von-essen/cloudstack-fixes
...
cloudstack: Move ipaddress, host port, and source to statebag
2017-09-05 06:29:22 +02:00
Rickard von Essen
1a1ab3863c
cloudstack: Add support for Security Groups
...
Adds two new options:
- `create_security_group` which automatically creates a temporary SG.
- `security_groups` which takes a list of SGs to attach to the instance.
2017-08-31 12:00:03 -07:00
Rickard von Essen
2fea167294
cloudstack: Updated after review
2017-07-26 19:01:12 +02:00
Rickard von Essen
89dcc93f1c
cloudstack: Print instance password if debug mode
2017-07-26 07:38:05 +02:00
Rickard von Essen
fc964bfab2
cloudstack: Setup temporary SSH keypair
2017-07-26 07:38:05 +02:00
Rickard von Essen
1bf8a0c6a1
cloudstack: Move ipaddress and host port to state
2017-07-18 21:40:36 +02:00
Rickard von Essen
07fffd7cd5
cloudstack: moved instanceSource to statebag
2017-07-18 16:39:28 +02:00
Rickard von Essen
62dac4a168
cloudstack: some updates after review
2017-07-14 11:09:21 +02:00
Rickard von Essen
44089b2f55
cloudstack: Improved error reporting
...
Ensure that errors are shown when they happens.
2017-07-14 07:11:37 +02:00
Sander van Harmelen
3f444997b2
Make expunge optional and improve logging output ( #5099 )
2017-07-07 10:54:58 +02:00
Sander van Harmelen
c4ef9bcd3f
Make sure we always print and return any errors
2017-07-06 23:31:13 +02:00
Lars Tobias Skjong-Børsting
c01f6d8708
builder/cloudstack: Support http server ( #5017 )
...
builder/cloudstack: Added docs for http server
Closes hashicorp/packer#4949
2017-07-06 11:59:02 +02:00
Matthew Hooker
81522dced0
move packer to hashicorp
2017-04-04 13:39:01 -07:00
Sander van Harmelen
68c6835bb5
Do not create a random public port ( #4149 )
...
This is meant to be a gentle solution for a very specific use case, but is causing more issues then it solves.
If you have a port conflict when trying to use an already associated public IP, the easiest way around it is to let the builder associate a new temporary public IP address.
2016-11-10 13:59:58 +01:00
nyankichi820
d1eadd91bb
Fix cloudstack builder ( #4139 )
...
* add zone id when associate ip address in cloudstack
* configure keypair
* fix bug firewall port
2016-11-10 13:21:08 +01:00
Sander van Harmelen
dbf3bf56d4
Add a CloudStack Builder
2016-10-16 15:29:18 +02:00