Commit Graph

3938 Commits (37f474ceca8198b646da500ecc88997cf261ee6d)

Author SHA1 Message Date
Megan Marsh 042e9ad14b Move logging about aws waiters to the access config prepare() so that it's only spit out once per builder.
7 years ago
Ali Rizvi-Santiago 2e977019e4 Modified the docker builder's default run_command to specify the shell via the entrypoint command line argument as suggested by @vrubiolo in #6920.
7 years ago
bozhi.ch 0174a502eb support -force option and update docs
7 years ago
Ali Rizvi-Santiago 310ea6c006 Updated docker's default config to use regular bourne shell instead of bourne again. Closes #6920.
7 years ago
Ali Rizvi-Santiago 040a33567e Trying again one more time to prevent import cycles.. Moved common.ExpandUser into packer.ExpandUser..
7 years ago
Ali Rizvi-Santiago 79b68fb89c Replaced the previous incorrect logic with an re-implementation of common.ExpandUser.
7 years ago
Ali Rizvi-Santiago e04986659a Changed the logic for when to actually prefix a path with a u.HomeDir so that it's only done when a non-absolute path is specified.
7 years ago
Ali Rizvi-Santiago 1a3c3f2ffc Replaced all instances of mitchellh/go-homedir with an implementation based on os/user.
7 years ago
Megan Marsh 152f6fed8f
Merge pull request #7066 from arizvisa/vmware-temporary-devices
7 years ago
Ali Rizvi-Santiago 96bdf17d2e Added knowledge of the "temporaryDevices" statebag to the StepCleanVMX tests for the VMware builders.
7 years ago
Megan Marsh 65124985d1 don't set DetectZeroes if it's off, because some versions of QEMU don't support this option
7 years ago
Ali Rizvi-Santiago fa4998e1ec Modified StepCleanVMX to walk through the "temporaryDevices" statebag so that we can disable or remove its devices cleanly. This gets rid of the regex hack that was previously used to identify a cdrom-image.
7 years ago
Ali Rizvi-Santiago e0d3861e81 Updated StepCreateVMX to add the CDROM device that packer uses to the "temporaryDevices" statebag so that StepCleanVMX can unmount its ISO later.
7 years ago
Ali Rizvi-Santiago 3512c3c5ea Updated StepConfigureVMX to add the floppy disk device to the "temporaryDevices" statebag so that StepCleanVMX can remove it later.
7 years ago
Ali Rizvi-Santiago 27b16cee0a Added a new "temporaryDevices" key to the VMware builders' statebag in order to keep track of devices that were temporarily added during build and need to be removed later by StepCleanVMX.
7 years ago
Christopher Boumenot c7d8f4e150 azure: configuration for disk caching
8 years ago
Megan Marsh c03894c05d fix bad interpolation exemption for volume_size
8 years ago
Adrien Delorme c29268a5d2
Merge pull request #7046 from nferch/hcloud_snapshot_labels
8 years ago
Megan Marsh a2c3b35bff
Merge pull request #7032 from hashicorp/fix_region_validation
8 years ago
Megan Marsh 11ef407b4d
Merge pull request #7016 from rickard-von-essen/vmware-tech-prev
8 years ago
PORTE Loïc bf97557abf Backport VNC log from vmware to qemu
8 years ago
bozhi.ch a485bcfdf3 delete copied image and snapshots if corresponding options are specified
8 years ago
Megan Marsh ec75913412 fix crash that occurs when dir is nil
8 years ago
Megan Marsh 89fb8f0d3e fix defaulting/lack thereof for cpu count and memory in vmware template
8 years ago
Nathan A. Ferch fccd7d0692 add snapshot_labels to hcloud builder
8 years ago
Megan Marsh 6728244480 simplify for loop logic
8 years ago
Andrew Pennebaker c05ac784d3 fix tests
8 years ago
Andrew Pennebaker 5ada3376b8 fix test
8 years ago
Andrew Pennebaker 2c989157e4 gofmt
8 years ago
Andrew Pennebaker 5b6cbeed1d expose `--iso` option down in `VBoxManage export --iso` up to virtualbox-iso configuration as "bundle_iso"; ensure ISOs are not removed when this is enabled.
8 years ago
Megan Marsh 8cc3320977
Merge pull request #7034 from zenjoy/hcloud/rescue_mode
8 years ago
bozhi.ch 7704ff2f24 apply tags to relevant snapshots
8 years ago
dedene 1aaa998b02 Revert back to reset server
8 years ago
dedene 6589bfaaab Small code improvements and fixes
8 years ago
zhuzhih2017 53bfe7179f
Merge pull request #7022 from chhaj5236/feature/image_without_datadisks
8 years ago
bozhi.ch 3c1395eb04 support wait_snapshot_ready_timeout for much bigger disk
8 years ago
dedene 0f3bfbf8e6 Fix timing issues by updating to hcloud-go v1.11.0
8 years ago
Kevin Bulebush 802e7d467d openstack: Add support for tagging new images.
8 years ago
dedene 064e6c7e08 Add support for builds using rescue mode
8 years ago
Adrien Delorme e539133d8c
Merge pull request #7019 from arizvisa/vmware.cpu-memory
8 years ago
Adrien Delorme 24510907be
Merge pull request #7018 from arizvisa/parallels.cpu-memory
8 years ago
Adrien Delorme 174c811c1e
Merge pull request #7017 from arizvisa/virtualbox.cpu-memory
8 years ago
Ali Rizvi-Santiago f8c23c1808 Updated things related to the vmware-iso builder to include @azr's suggestions.
8 years ago
Ali Rizvi-Santiago 0f019407d6 Updated things related to the general hw config in the virtualbox builders to correspond to @azr's suggestions.
8 years ago
Ali Rizvi-Santiago 784535a4e3 Updated things related to the parallels-iso builder to correspond to @azr's suggestions.
8 years ago
Ali Rizvi-Santiago 61ee3a44f5 Modified the cpus and memory options for the vmware builders to only apply them if they were specified.
8 years ago
Megan Marsh da6e350949 fix tests
8 years ago
Megan Marsh fbb3d526e3 move region validation to run so that we don't break validation when we don't have aws creds set
8 years ago
Nathan A. Ferch 849a6ed353 add ssh_keys config to hcloud builder
8 years ago
bozhi.ch 3c2c13a021 support creating image without data disks
8 years ago
Ali Rizvi-Santiago fb7ce9f2b5 Renamed both `cpu_count` and `memory_size` to `cpus` and `memory` (respective).
8 years ago
Ali Rizvi-Santiago eca26f43f2 Renamed both `cpu_count` and `memory_size` to `cpus` and `memory` (respective).
8 years ago
Ali Rizvi-Santiago 24140131c7 Renamed both `cpu_count` and `memory_size` to `cpus` and `memory` (respective).
8 years ago
Ali Rizvi-Santiago 51948daf92 Added options for the cpu count, memory, audio, and usb to the virtualbox builder.
8 years ago
Ali Rizvi-Santiago 71d15d05c0 Added support for the cpu_count, memory_size, sound, and usb options to the parallels builder.
8 years ago
Ali Rizvi-Santiago cd45248eaa Moved common hardware config options used by the vmware-iso builder into common/hw_config and added options for the CpuCount and MemorySize.
8 years ago
Rickard von Essen 4ea3d1567a
vmware: Correctly parse version for VMware Fusion Tech Preview
8 years ago
Ali Rizvi-Santiago 4e73c85e22 Re-sorted, grouped, and commented the options in the template VMX for the VMWare builder to keep things organized.
8 years ago
Christopher Boumenot 06c2c35e4c
Merge pull request #6980 from amydutta/amdut/snapshot
8 years ago
Amrita Dutta b8def0b3fb Added test to check for missing OS disk snapshot name and data disk snapshot prefix
8 years ago
Amrita Dutta 67342750a3 Addressed PR comments
8 years ago
Megan Marsh dca02c7b07
Merge pull request #6962 from hashicorp/fix_6940
8 years ago
Megan Marsh 3b413d2e5e fix rebase conflicts
8 years ago
Megan Marsh 89184ae384 rework if/else to simplify main code body.
8 years ago
Megan Marsh 536e0501ac Validate username/password for ovftool during prepare.
8 years ago
Megan Marsh 7643ccc67d
Merge pull request #6982 from hashicorp/fix_6161
8 years ago
Megan Marsh 49b40e0789
Merge pull request #6984 from hashicorp/add_display_name_vmware
8 years ago
Adrien Delorme f1fa28847f
remove debug line.
8 years ago
Adrien Delorme 78ac943679
Merge pull request #6987 from hashicorp/6624
8 years ago
Adrien Delorme 175b6a7971 add test for MSI configuration
8 years ago
Adrien Delorme 1958ef6e81 remove unecessary check
8 years ago
Adrien Delorme 08e8b1850e
remove unnecessary parenthesis
8 years ago
Amrita Dutta 2d6b18e63e Fix tests after bug fix
8 years ago
Megan Marsh 2e2b2cea82 add a warning that checks for collisions between packer-generated values in the default vmx file and the vmx_data
8 years ago
Amrita Dutta 213fbbae00 Updated go version and reformatted
8 years ago
Megan Marsh 3cf4c63a87 Change antiquated Master/Slave terminology for disk drives to more appropriate Primary/Secondary.
8 years ago
Megan Marsh e5c4a4a6fb create export directories for vmx and ovf file types, too.
8 years ago
Amrita Dutta a297d73b98 correcting wrong log message
8 years ago
Amrita Dutta 06525dd885 adding logs in the steps
8 years ago
Megan Marsh 68c9e34bfe add new display_name template option
8 years ago
Adrien Delorme 1ab0173e69 azure builder: allow to auth with managed identities ( MSI )
8 years ago
Amrita Dutta 8881bc2d64 Fix bug in snapshot client creation
8 years ago
Megan Marsh c1c929164f
Revert "Rename attribute api_access_key to organization_id"
8 years ago
Megan Marsh 210d62de2c
Merge pull request #6925 from sieben/organization_renaming
8 years ago
Rémy Léone e54d2e3591 Rename attribute api_access_key to organization
8 years ago
Mikhail Ushanov 536252683e builders: reuse private key file reading function
8 years ago
Amrita Dutta 8d8c86366b Config tests + typo fix
8 years ago
Amrita Dutta 1fa9f1ef11 formatting changes in stateBag.go
8 years ago
Amrita Dutta 8c326dbab7 Formatting changes
8 years ago
Amrita Dutta b2d1675d39 Added tests
8 years ago
Amrita Dutta 369b2dae5e Inlining suggested functions
8 years ago
Megan Marsh 790d5661c5 escape username
8 years ago
Amrita Dutta 593363c5be fix typo in last commit
8 years ago
Amrita Dutta 1266d5146d addressed PR comments + add file for data disk snapshots
8 years ago
Megan Marsh 8567be43d9
Merge pull request #6927 from hashicorp/rebased_4591
8 years ago
Megan Marsh 96d628eef1 fix silliness with pointers
8 years ago
Amrita Dutta d12d23d34b OS disk snapshot
8 years ago
Megan Marsh 79862f1bbb
Merge pull request #6931 from hashicorp/fix_6919
8 years ago
Megan Marsh 5c2ca450bd fix tests
8 years ago
Megan Marsh 5815b376b4 remove unnecessary checks; we always default format to ovf if it is unset.
8 years ago
Megan Marsh c3144c2d0a add some missing template validation (copied from iso builder) and revert to current use of displayName for parsing vm ssh IP; using VMName was breaking chained builds that hadn't updated the display name from the previous build.
8 years ago
Megan Marsh c3d6d45696 modify test so that it accesses CommConfig the same way we really do within the driver
8 years ago
Megan Marsh f18bb19f96 remove redundant config; CommConfig was already a part of the SSSHConfig struct
8 years ago
Megan Marsh fa12113eaf remove unused NewLocalArtifact
8 years ago
Adrien Delorme 3f288fc6ca aws client: config.WithMaxRetries(8)
8 years ago
Megan Marsh daf1f39930
Merge pull request #6918 from hashicorp/oracle_classic_volumes
8 years ago
Matthew Hooker 3ff038d4d1
remove todo
8 years ago
bozhi.ch c3a60ad0ce add options for system disk properties
8 years ago
Matthew Hooker 42cd3e4bf7
Warn if not a pv build but builder image entry is set. cleanup
8 years ago
chbell43 653fa2298f use guard clauses
8 years ago
Mikhail Ushanov 4608b5d39d amazon: add option for skipping TLS verification
8 years ago
chbell43 ea78cb62fd Make the config.networkV2Client conditional
8 years ago
Matthew Hooker eb976894fc
cleanup
8 years ago
Matthew Hooker c697c9d3de
cleanup
8 years ago
Matthew Hooker f322397413
add config tests
8 years ago
Matthew Hooker 6d6d262308
some final fixes and documentation work
8 years ago
Matthew Hooker 4eba1ee724
remove unused config key
8 years ago
Matthew Hooker 03932f1157
Clean up volumes
8 years ago
Matthew Hooker e2a0cbf7df
move upload script to const
8 years ago
Matthew Hooker 7331d6fc7f
some final clean up
8 years ago
Matthew Hooker ab4f205bf6
correctly building linux/windows now
8 years ago
Matthew Hooker 09de194d8e
trying to wrap the base communicator config but it needs to be prepared
8 years ago
Matthew Hooker ab5e964ca6
Connecting to master instance but not builder
8 years ago
Matthew Hooker ade396e140
don't echo image creation commands
8 years ago
Matthew Hooker 3e966ae38d
make fmt
8 years ago
Matthew Hooker 86f6cf478a
cleanup
8 years ago
Matthew Hooker 6f729d0265
Adding some missing configuration
8 years ago
Matthew Hooker c42be62d90
fix identifier changes from oracle sdk
8 years ago
Matthew Hooker bbb0d450f1
todo
8 years ago
Matthew Hooker be91c99d29
warn about dangling segments.
8 years ago
Matthew Hooker ce30e1053e
wip
8 years ago
Matthew Hooker 9f310045fc
split image upload/creation. clean up
8 years ago
Matthew Hooker 420d0ebe3e
fix artifact generation
8 years ago
Matthew Hooker 84bb5d2f6f
create image list
8 years ago
Matthew Hooker fa54a64d28
WIP
8 years ago
Matthew Hooker b84c7df9da
Segments going into per-run subfolder
8 years ago
Matthew Hooker b5c6beb8a3
don't delete segments. registering works now.
8 years ago
Matthew Hooker 705fa976a8
more debugging
8 years ago
Matthew Hooker 2536790e0a
todo
8 years ago
Matthew Hooker 7a35e2408f
fix pty, some todo and refactor of bash scri[t
8 years ago
Matthew Hooker fc301601e1
actually delete temp container
8 years ago
Matthew Hooker cd77d00fd8
delete temporary image container
8 years ago
Matthew Hooker 21f786d686
todo and some clean up. correct values for machine image
8 years ago
Matthew Hooker b222d36669
use 2x volume size
8 years ago
Matthew Hooker 7c577abbcb
WIP: register machine image.
8 years ago
Matthew Hooker 8207ba4fa4
Use jq to create manifest. Upload to compute_images
8 years ago
Matthew Hooker 96e62236ec
upload volume WIP
8 years ago
Matthew Hooker 8598e2d0a3
WIP
8 years ago
Matthew Hooker bf7c4a7ad6
wip
8 years ago
Matthew Hooker 445c3fb5bb
cleanup temp keys
8 years ago