Megan Marsh
001886670d
move Ui definition into the packer plugin sdk.
2020-11-30 14:26:54 -08:00
Megan Marsh
3f6deb8828
move multistep into the plugin sdk
2020-11-17 16:31:03 -08:00
Megan Marsh
fe472f45ae
don't put error in state, or we'll fail.
2020-05-12 16:51:40 -07:00
Megan Marsh
807a09a770
don't error if metadata can't be set. Old versions of openstack don't seem to play nicely with this API call
2020-05-12 16:51:40 -07:00
Kevin Puetz
6e069c94e8
fix: set openstack metadata for use_blockstorage_volume
...
Also set os-set_image_metadata on the tempoary volume before uploading
(volume metadata does not automatically become image metadata)
so the uploaded image will be created with the desired metadata
2019-10-02 17:59:13 -05:00
Pratyush Singhal
dbb50337bc
fix: out of scope blockStorageClient nil value issue
...
Co-Authored-By: Adrien Delorme <azr@users.noreply.github.com>
2019-08-22 20:50:46 +05:30
psinghal20
bbd71136dc
fix: move adding metadata step after waiting for uploading step
...
Signed-off-by: psinghal20 <psinghal20@gmail.com>
2019-08-21 15:45:46 +05:30
Pratyush singhal
cf8bfa56f0
fix: set openstack image metadata with use_blockstorage_volume
...
Signed-off-by: Pratyush singhal <psinghal20@gmail.com>
2019-07-01 12:56:00 +05:30
Adrien Delorme
b9411712eb
builder/openstack/step_create_image.go: pass context for cancellation
...
fix #7325
2019-02-25 15:03:11 +01:00
Kevin Bulebush
76d1bf567e
Replaced compute/v2/images with imageservice/v2/images.
...
Removed usage of a deprecated API.
Standardized clientService naming.
2018-11-25 14:30:31 -05:00
Adrien Delorme
016b0985a6
builder/openstack: use config as a pointer so values could be set
...
this commit will close #6712
2018-09-27 16:27:34 +02:00
Daisuke Takahashi
b7bd3d4b34
OpenStack: Change option name to `image_disk_format`
2018-09-20 10:44:28 +09:00
Daisuke Takahashi
904dd1df63
Add disk_format option for OpenStack builder
2018-09-20 10:44:28 +09:00
Andrei Ozerov
572cdeecd1
OpenStack builder: create image from blockstorage
...
Allow to create final image from the Block Storage service volume.
2018-08-16 12:40:11 +02:00
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
Matthew Hooker
81522dced0
move packer to hashicorp
2017-04-04 13:39:01 -07:00
Matthew Hooker
99667df17e
update image visibility own step
2016-12-13 16:28:54 -08:00
Matthew Hooker
7bd211cf61
first attempt at modifying visibility
2016-12-13 15:21:20 -08:00
Zanetti, David
01e3e7f7a3
Second part of resync of gophercloud
2016-12-13 14:06:01 -08:00
Marc Abramowitz
4b9c4cc3e6
openstack: WaitForImage: treat 404 as retryable
...
Addresses comment at
https://github.com/mitchellh/packer/issues/1415#issuecomment-165739549
2015-12-18 10:37:31 -08:00
Marc Abramowitz
b08b88b019
openstack: Add maxNumErrors for WaitForImage
...
This partly addresses comment at
https://github.com/mitchellh/packer/issues/1415#issuecomment-165739549
2015-12-18 10:27:18 -08:00
Marc Abramowitz
39d6eda370
Make the OpenStack builder more informative
...
about the servers, images, and keypairs that it's dealing with.
2015-12-17 11:12:52 -08:00
Travis Truman
988cf2fecf
Fixes #2434 by adding OpenStack Glance metadata support
2015-07-15 21:31:13 -04:00
Mitchell Hashimoto
a0d41fcd14
builder/openstack
2015-06-12 00:16:43 -04:00
Mitchell Hashimoto
3b29fa5e40
builder/openstack: convert interpolation
2015-05-27 13:02:57 -07:00
Mitchell Hashimoto
b06cceec25
builder/openstack: lock to fork for now to compile [GH-1625]
2014-10-27 16:40:49 -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