packer-cn/builder/openstack
bh9 cbbbc451b5
Allow both ports and networks in openstack builder
Current code would throw an index out of range exception when trying to access `s.Networks[len(s.Networks)]` when `len(s.Ports)>0` and would ignore the first `len(s.Ports)` entries of `s.Networks`, fix by shifting access to `s.Networks` back by `len(s.Ports)` so that the final read is `networks[len(s.Networks)+len(s.Ports)-1].UUID=s.Networks[len(s.Networks)+len(s.Ports)-1-len(s.Ports)]` which is necessarily the last member of `s.Networks`
2019-04-01 11:43:21 +01:00
..
access_config.go Support reading app creds from packer config 2019-02-09 22:52:02 -05:00
artifact.go Replaced compute/v2/images with imageservice/v2/images. 2018-11-25 14:30:31 -05:00
artifact_test.go run goimports 2018-01-22 17:21:10 -08:00
builder.go Merge pull request #7395 from josepand/openstack_force_delete 2019-03-25 17:34:00 -06:00
builder_test.go run goimports 2018-01-22 17:21:10 -08:00
image_config.go openstack: Add support for tagging new images. 2018-11-23 20:22:10 -05:00
image_config_test.go Add base support for openstack [GH-155] 2013-08-26 21:57:23 -07:00
networks.go OpenStack builder: do not always use floating IPs 2018-08-17 00:49:06 +03:00
run_config.go Expose force_delete for openstack builder 2019-03-11 18:39:47 +00:00
run_config_test.go Updated test cases to cover bad filters and empty() 2018-08-22 18:23:12 -04:00
server.go move multistep imports to helper. 2018-01-24 17:09:15 -08:00
ssh.go refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc 2018-08-22 17:02:23 +02:00
step_add_image_members.go builder/openstack: use config as a pointer so values could be set 2018-09-27 16:27:34 +02:00
step_allocate_ip.go use guard clauses 2018-10-29 18:36:08 +00:00
step_create_image.go builder/openstack/step_create_image.go: pass context for cancellation 2019-02-25 15:03:11 +01:00
step_create_volume.go use openstack volume_size option on creation 2018-12-18 23:59:54 +01:00
step_detach_volume.go builder/openstack: use config as a pointer so values could be set 2018-09-27 16:27:34 +02:00
step_get_password.go builder/openstack: use config as a pointer so values could be set 2018-09-27 16:27:34 +02:00
step_key_pair.go Add tmp package that offers Dir & File funcs 2018-12-12 16:35:57 +01:00
step_key_pair_test.go up test 2018-08-29 14:40:33 +02:00
step_load_flavor.go builder/openstack: use config as a pointer so values could be set 2018-09-27 16:27:34 +02:00
step_run_source_server.go Allow both ports and networks in openstack builder 2019-04-01 11:43:21 +01:00
step_source_image_info.go builder/openstack: use config as a pointer so values could be set 2018-09-27 16:27:34 +02:00
step_stop_server.go builder/openstack: use config as a pointer so values could be set 2018-09-27 16:27:34 +02:00
step_update_image_tags.go openstack: Add support for tagging new images. 2018-11-23 20:22:10 -05:00
step_update_image_visibility.go builder/openstack: use config as a pointer so values could be set 2018-09-27 16:27:34 +02:00
step_wait_for_rackconnect.go builder/openstack: use config as a pointer so values could be set 2018-09-27 16:27:34 +02:00
volume.go OpenStack: wait for volume availability when cleaning up 2018-09-21 10:13:45 +09:00