194 Commits

Author SHA1 Message Date
Matthew Hooker
84bb5d2f6f
create image list 2018-10-26 16:59:21 -07:00
Matthew Hooker
fa54a64d28
WIP 2018-10-26 16:59:21 -07:00
Matthew Hooker
b84c7df9da
Segments going into per-run subfolder 2018-10-26 16:59:21 -07:00
Matthew Hooker
b5c6beb8a3
don't delete segments. registering works now. 2018-10-26 16:59:21 -07:00
Matthew Hooker
705fa976a8
more debugging 2018-10-26 16:59:21 -07:00
Matthew Hooker
2536790e0a
todo 2018-10-26 16:59:21 -07:00
Matthew Hooker
7a35e2408f
fix pty, some todo and refactor of bash scri[t 2018-10-26 16:59:21 -07:00
Matthew Hooker
fc301601e1
actually delete temp container 2018-10-26 16:59:21 -07:00
Matthew Hooker
cd77d00fd8
delete temporary image container 2018-10-26 16:59:21 -07:00
Matthew Hooker
21f786d686
todo and some clean up. correct values for machine image 2018-10-26 16:59:21 -07:00
Matthew Hooker
b222d36669
use 2x volume size 2018-10-26 16:59:21 -07:00
Matthew Hooker
7c577abbcb
WIP: register machine image.
remove passwords
2018-10-26 16:59:21 -07:00
Matthew Hooker
8207ba4fa4
Use jq to create manifest. Upload to compute_images 2018-10-26 16:59:20 -07:00
Matthew Hooker
96e62236ec
upload volume WIP
check upload for error
increase builder volume size to account for chunking
2018-10-26 16:59:20 -07:00
Matthew Hooker
8598e2d0a3
WIP 2018-10-26 16:59:20 -07:00
Matthew Hooker
bf7c4a7ad6
wip 2018-10-26 16:59:20 -07:00
Matthew Hooker
445c3fb5bb
cleanup temp keys 2018-10-26 16:59:20 -07:00
Matthew Hooker
098764d8ac
WIP 2018-10-26 16:59:20 -07:00
Matthew Hooker
2db0a03142
image upload WIP 2018-10-26 16:59:20 -07:00
Matthew Hooker
265ee0b0b8
add whitespace 2018-10-26 16:59:20 -07:00
Matthew Hooker
7c26ffef9c
builder instance now runs and is connected to 2018-10-26 16:59:20 -07:00
Matthew Hooker
b3ffa975c3
Revert "add boot volume to builder instance"
This reverts commit cbce7b42079d2087bc622fd8c6f65d1339b735d1.
2018-10-26 16:59:20 -07:00
Matthew Hooker
2febfa2c7d
attach volume after instance booted 2018-10-26 16:59:20 -07:00
Matthew Hooker
b68f214ca4
add boot volume to builder instance 2018-10-26 16:59:20 -07:00
Matthew Hooker
ca3bffcb0d
bugfix and some debug logging 2018-10-26 16:59:19 -07:00
Matthew Hooker
00ff187d77
master instance working 2018-10-26 16:59:19 -07:00
Matthew Hooker
e271e88b49
oracle-classic variable volume size WIP 2018-10-26 16:59:19 -07:00
Megan Marsh
38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file 2018-09-14 11:06:38 -07:00
Megan Marsh
a0edaf6c46 Going to revert this change for now, becuase of potential issues that arise from calling Prepare() twice
Revert "use statebag instead of SetSharedState for winRM password"

This reverts commit b35acbd8798a1baa645f0d181731a9cd9318a61c.
2018-09-10 16:48:42 -07:00
Megan Marsh
9926988ab7
Merge pull request #6621 from hashicorp/ssh_keys_centralised
Merge ssh fields usage
2018-08-30 14:13:21 -07:00
Harvey Lowndes
344e7e8b92 Validation for tag configuration 2018-08-29 15:31:05 -07:00
Harvey Lowndes
cc7d4e4a95 Add support for freeform tagging of images 2018-08-29 15:31:05 -07:00
Adrien Delorme
cd851f8ac2 use public ssh key & key name from config instead of the statebag 2018-08-29 14:40:33 +02:00
Adrien Delorme
0f9eddda3a builder.oracle: use c.Comm for ssh 2018-08-29 14:40:33 +02:00
Adrien Delorme
51d2aac9f6 SSHPrivateKey => SSHPrivateKeyFile 2018-08-29 14:40:32 +02:00
Megan Marsh
b35acbd879 use statebag instead of SetSharedState for winRM password 2018-08-24 13:51:16 -07:00
Megan Marsh
340363a649
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
Merge ssh config funcs from builders
2018-08-23 16:03:36 -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
Megan Marsh
ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
filter winrm password from logs
Add new root-level packer template option, sensitive-variables, to tell us what user variables to mark sensitive.
2018-08-20 15:35:55 -07:00
Felix Yan
f69ab4ed77
Fix a typo in config_test.go 2018-07-31 15:19:45 +08:00
xxx
7630268e1d Incorporate review comments 2018-07-17 17:41:19 +02:00
Robert Neumayer
22e5523faa Allow instance metadata to be specified in config 2018-07-02 10:48:08 +02:00
Owain Lewis
b600be009d Pass context into OCI client 2018-06-26 10:17:02 +01:00
Harvey Lowndes
a69e2ac78e Support instance display name configuration 2018-06-25 11:45:59 +01:00
Megan Marsh
08218222dc add get windows default credentials to oci builder 2018-05-24 10:47:37 -07:00
Harvey Lowndes
c442ba165e Migrate to official OCI Go SDK 2018-04-17 10:30:42 +01:00
Megan Marsh
67d2de8de1
Merge pull request #6079 from hashicorp/do_5866
add user data and user data file to oracle oci builder
2018-04-02 16:48:48 -07:00
Megan Marsh
d6e5b01a23
Merge pull request #6095 from hashicorp/OPaniC
prevent panics when cleaning up resources that haven't been created.
2018-04-02 16:34:34 -07:00
Matthew Hooker
7e13b5c62a
prevent panics when cleaning up resources that haven't been created. 2018-04-02 11:56:11 -07:00
Matthew Hooker
52f69cd91a
Validate image name. 2018-04-02 11:22:15 -07:00