211 Commits

Author SHA1 Message Date
Matthew Hooker
4eba1ee724
remove unused config key 2018-10-26 20:02:51 -07:00
Matthew Hooker
03932f1157
Clean up volumes 2018-10-26 20:02:13 -07:00
Matthew Hooker
e2a0cbf7df
move upload script to const 2018-10-26 16:59:23 -07:00
Matthew Hooker
7331d6fc7f
some final clean up 2018-10-26 16:59:23 -07:00
Matthew Hooker
ab4f205bf6
correctly building linux/windows now 2018-10-26 16:59:23 -07:00
Matthew Hooker
09de194d8e
trying to wrap the base communicator config but it needs to be prepared 2018-10-26 16:59:22 -07:00
Matthew Hooker
ab5e964ca6
Connecting to master instance but not builder 2018-10-26 16:59:22 -07:00
Matthew Hooker
ade396e140
don't echo image creation commands 2018-10-26 16:59:22 -07:00
Matthew Hooker
3e966ae38d
make fmt 2018-10-26 16:59:22 -07:00
Matthew Hooker
86f6cf478a
cleanup 2018-10-26 16:59:22 -07:00
Matthew Hooker
6f729d0265
Adding some missing configuration 2018-10-26 16:59:22 -07:00
Matthew Hooker
c42be62d90
fix identifier changes from oracle sdk 2018-10-26 16:59:22 -07:00
Matthew Hooker
bbb0d450f1
todo 2018-10-26 16:59:22 -07:00
Matthew Hooker
be91c99d29
warn about dangling segments.
The client offers no way to bulk delete keys, so for now let's just warn users.
The issue is tracked upstream here: https://github.com/hashicorp/go-oracle-terraform/issues/172
2018-10-26 16:59:22 -07:00
Matthew Hooker
ce30e1053e
wip 2018-10-26 16:59:22 -07:00
Matthew Hooker
9f310045fc
split image upload/creation. clean up 2018-10-26 16:59:22 -07:00
Matthew Hooker
420d0ebe3e
fix artifact generation 2018-10-26 16:59:21 -07:00
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