Commit Graph

4923 Commits (bbd64896a0341909dcc593babb429b86d2e4f296)

Author SHA1 Message Date
Megan Marsh ca64cc1237
Merge pull request #8261 from shawnmssu/feature/ucloud_import
7 years ago
Lars Lehtonen 6862e3534f
builder/azure/chroot: fix dropped error
7 years ago
Megan Marsh 6191b9c8c6
Merge pull request #8288 from hashicorp/fix_8271
7 years ago
Megan Marsh d084cd1895 Update builder/amazon/common/ami_config.go
7 years ago
Adrien Delorme d915618819
Merge pull request #8289 from hashicorp/test_filter_builder
7 years ago
mingsheng.su 545575b879 optimize code about ufile config
7 years ago
mingsheng.su 37e898e115 optimize code style
7 years ago
mingsheng.su 9de1c42ad4 fix ucloud builder acctest
7 years ago
Megan Marsh a4f95c8e7d fux gebeaj
7 years ago
mingsheng.su 2c513fce64 update ucloud packer
7 years ago
mingsheng.su 61f9d3a9fe add ucloud import
7 years ago
Megan Marsh e9f02e44cb add test to catch this case
7 years ago
Megan Marsh 7cf47fc463 add some extra layers of validation to make sure that people don't trip over magical encrypt_boot settings later in the build
7 years ago
Andrey Kaipov 5da5b00e1c [builder/openstack] adds option to discover provisioning network
7 years ago
Adrien Delorme 8b6f1358fb
Merge pull request #8281 from alrs/fix-builder-oneandone-errors
7 years ago
Adrien Delorme b2b12d6b04
Merge pull request #8280 from blinohod/cloudstack-display-name
7 years ago
Megan Marsh e2283445f2 need to initialize variables scoped to the individual loop, because the address of k,v stay the same and that means we overwrite previous variables when assigning them to the struct directly.
7 years ago
Lars Lehtonen 6f7693577d
builder/oneandone: fix dropped errors
7 years ago
Michael Bochkaryov da7e72246c Add instance_display_name parameter for Cloudstack builder
7 years ago
Megan Marsh 0cb098b713 regenerate code because of hyperv refactor
7 years ago
Megan Marsh 2d01b3b7ab
Merge pull request #8274 from hashicorp/fix_8264
7 years ago
Megan Marsh a783a09ea3
Merge pull request #8269 from paulmey/paulmey/generalize-chroot
7 years ago
Megan Marsh a7be0bed30 Make Vagrant driver code pass through logs as it receives them rather than buffering and returning them all at the end of the call.
7 years ago
Megan Marsh eccdb44e3b
Merge pull request #8246 from hashicorp/fix_8089
7 years ago
Megan Marsh 7928b5b045 fix transcription error from when we moved to generated docs
7 years ago
Paul Meyer 3be7d81ce2 Move common steps together
7 years ago
Paul Meyer e6dfe301ac Move CommandWrapper & ShellCommand to common
7 years ago
Megan Marsh 1731f87ad0
Merge pull request #8186 from puetzk/issue8178
7 years ago
Megan Marsh 436e21ae15 Merge branch 'master' into pr/8186
7 years ago
Paul Meyer b54a2ee09d Set correct user agent for Azure clientset
7 years ago
Megan Marsh b9245a402d add structure to its own struct to make generated code stop complaining
7 years ago
Megan Marsh 5614f307fb regerate code
7 years ago
Kevin Puetz 00d0297d26 Merge branch 'master' into issue8178
7 years ago
Megan Marsh d15f43e4eb
Merge pull request #8232 from hashicorp/artifact-tree
7 years ago
Megan Marsh cdc3fdf926
Merge pull request #8247 from b-b3rn4rd/master
7 years ago
Bernard Baltrusaitis ec1d70dc44 adding required changes
7 years ago
Megan Marsh 0c2fba089d
Merge pull request #8250 from tencentyun/master
7 years ago
Megan Marsh 34f5bfa498 regenerated things
7 years ago
Megan Marsh e439dd039b fix tests
7 years ago
Megan Marsh fe5ea886a2 refactir hyperv builders to remove duplicated config and prepare code
7 years ago
Megan Marsh eb7bce0728 add additional disk size option to hyperv-vmcx
7 years ago
Megan Marsh 836aaafaa3
Merge pull request #8203 from sumit-kalra/master
7 years ago
Li Kexian 6fb8988d08
we added retry on remote api call to improve the user experience
7 years ago
Bernard Baltrusaitis 65d1447b64 adding formatting
7 years ago
Bernard Baltrusaitis 6e2146324f Merge branch 'master' of github.com:b-b3rn4rd/packer
7 years ago
Bernard Baltrusaitis 8b83cca064 adding temporary instance profile document policy
7 years ago
Adrien Delorme 8b76453e7f make generate
7 years ago
Adrien Delorme 4542666e25 fix func calls after master merge
7 years ago
Adrien Delorme cf1555bf17 Merge remote-tracking branch 'origin/master' into artifact-tree
7 years ago
Paul Meyer 575de8659e
Merge pull request #8226 from larohra/IncreasePollingDuration
7 years ago
Paul Meyer b716299d8e PR comment
7 years ago
Paul Meyer d3dc1be71c Doc updates
7 years ago
Paul Meyer 9b724d4ca0 Add artifact
7 years ago
Paul Meyer 0866cb3714 Reorganize client/common packages
7 years ago
Paul Meyer fe584f4448 Format updates
7 years ago
Paul Meyer 19a3502b36 Add 'vm' template function
7 years ago
Paul Meyer f72c4ec7a3 Update example and docs
7 years ago
Paul Meyer b5c0742951 Add test that verifies disksize bug (2/2)
7 years ago
Paul Meyer 98175c06d5 Add test that verifies disksize bug (1/2)
7 years ago
Paul Meyer eb5dc9326d Adding more tests
7 years ago
Paul Meyer 5943881051 Default for Gen 1 VMs
7 years ago
Paul Meyer 716f19a457 make fmt
7 years ago
Paul Meyer 8c73450f3d fixup! Add documentation to config struct
7 years ago
Paul Meyer 11ef06b94d Add StepVerifySourceDisk
7 years ago
Paul Meyer cb729e5a38 Add documentation to config struct
7 years ago
Paul Meyer 27a5bfe11c Add implementation for disk as source
7 years ago
Paul Meyer eff3f2bdcf Add test for disk input validation
7 years ago
Paul Meyer 57cff8961a Allow skipping OSDisk cleanup
7 years ago
Paul Meyer 6dee4d2d32 Wait for detach optimization
7 years ago
Paul Meyer bbac79f0a4 Make PIR images work
7 years ago
Paul Meyer b5401d552a Make from_scratch work
7 years ago
Paul Meyer b9b5bb2951 Use DiskStorageAccountTypes
7 years ago
Paul Meyer b4d0865548 Update azure-chroot builder
7 years ago
Paul Meyer e11a5bdb40 Put os disk id in state
7 years ago
Paul Meyer 77b782c5b5 Add StepEarlyCleanup
7 years ago
Paul Meyer 977ca5be1c Add StepCopyFiles and StepChrootProvision
7 years ago
Paul Meyer 9a3e6661b1 Add StepMountExtra
7 years ago
Paul Meyer addbdedea9 Add StepPostMountCommands
7 years ago
Paul Meyer d1f8b8545d Add StepAttachDisk
7 years ago
Paul Meyer 4d750ddefa Reuse amazon/chroot/step_pre_mount_commands.go
7 years ago
Paul Meyer 45d3f28c67 Add StepCreateNewDisk
7 years ago
Paul Meyer 3d329cf87d Add chroot builder framework
7 years ago
Paul Meyer 369ec9a84c Create disk attacher component
7 years ago
Paul Meyer 3c33aa4fc5 Add metadata client
7 years ago
Paul Meyer 113dc12346 Add function to detect whether Packer is running on Azure
7 years ago
Paul Meyer f106adbd12 Add Azure client set for chroot builder
7 years ago
Paul Meyer 2ded8f25ec Add metadata client
7 years ago
Paul Meyer 72fdce09ba Allow GetServicePrincipalToken to be called independently
7 years ago
Adrien Delorme 21a0cbffba fmt
7 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Adrien Delorme 438f704333 fmt
7 years ago
Adrien Delorme 766e5c77ef builder.vmware.vmx: remove duplicate RemoteType field.
7 years ago
Adrien Delorme 00e3f97f5b builder.vmware.iso: remove duplicate Format field
7 years ago
Adrien Delorme 6fbd664b66 builder.vagrant: simplify communicator.Config field
7 years ago
Adrien Delorme 3fe1c96491 builder.proxmox: make ProxmoxURL *url.URL field unexported
7 years ago
Adrien Delorme 40692a4e38 builder.profitbricks: remove duplicate communicator.Config field
7 years ago
Adrien Delorme 3fa614b5e1 builder.oracle.oci: make ConfigProvider unexported
7 years ago
Adrien Delorme 17c069baa5 builder.google:
7 years ago
Adrien Delorme f8402f1b91 builder.azure.common: make CloudEnvironment private so it doesn't temper with hcl2 code generation
7 years ago
Adrien Delorme 221e72e9c3 builder.amazon.common: remove pointer (*) from []*string and map[*string]*string types
7 years ago
Adrien Delorme 8b8c2fc138 builder.amazon.chroot: remove specific BlockDevice definition
7 years ago
Adrien Delorme d2f5daf98f
Merge pull request #8209 from dvrkps/patch-3
7 years ago
Megan Marsh f05fd3969f
Merge pull request #8212 from hashicorp/fix_8204
7 years ago
Megan Marsh 2e20facc8b fix tests
7 years ago
Megan Marsh 0e70e0e5a4 fix template imports
7 years ago
Megan Marsh 9c782f4d04 Revert "Qemu builder disk size as a string"
7 years ago
Megan Marsh 44f91c9afc Revert "remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name"
7 years ago
larohra 936ae42b00 Added a new parameter in config to override the default Azure Go SDK PollingDuration timeout
7 years ago
Davor Kapsa 29a6938de6
clean and return nil for retry.Config
7 years ago
Sumit Kalra 4bd09f381e
Fixing documentation (#6)
7 years ago
Davor Kapsa 4c615341ef
Ignore retry.Config var
7 years ago
Megan Marsh 4bc381183d make aws instsance builder work with recent changes for volume copy
7 years ago
Megan Marsh e283023d9b make sure step_register_ami in chroot builder respects encryption and ami skip build retion values once the copy happens
7 years ago
Megan Marsh 469af8e592 ebssurrogate builds didn't keep up with recent optimizations to region encryption in the ebs builder, and that was causing bugs with the common ami region copy step
7 years ago
Davor Kapsa 3eb075b9fc
Consolidate receiver name
7 years ago
Davor Kapsa fb267dd1dc
Add error check
7 years ago
Davor Kapsa 50262ba0b8
Remove explicit err var declaration
7 years ago
Sumit Kalra 595b103bbe
Adding NSG to the ARM deployment template when needed (#3)
7 years ago
Lee Trager c7f38b232f Add display template option for QEMU. Fixes #7675
7 years ago
Samuel Noordhuis eecac683b8
Update builder/proxmox/config.go
7 years ago
Adrien Delorme ef4db8b158
Merge branch 'master' into f-proxmox-cpu-type-support
7 years ago
Samuel Noordhuis 5add6cc6c8
Add ability to select CPU type
7 years ago
Samuel Noordhuis d3f369494a
Add support for SCSI controller selection
7 years ago
Megan Marsh e3257ba088
Merge pull request #8192 from hashicorp/fix_7904
7 years ago
Adrien Delorme 3a4079f97a yandex: use clean_resource_name too
7 years ago
Adrien Delorme d4600a7716 fix go imports
7 years ago
Megan Marsh 0026792d2f remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name
7 years ago
Megan Marsh de8e8557ae make config dir if it doens't exist.
7 years ago
Megan Marsh 7f040dfed8 update tests
7 years ago
Megan Marsh 7c41244e15 use a unique temp dir for each build to prevent concurrent builds from stomping on each other
7 years ago
Megan Marsh f685931cde
Merge pull request #8176 from winklerm/issue5575
7 years ago
Kevin Puetz 6e069c94e8 fix: set openstack metadata for use_blockstorage_volume
7 years ago
Megan Marsh e16fb19bfc don't abort on a single error if another availability zone was able to create the instance
7 years ago
Marek Winkler 0bd256326f builder/openstack: Fix interface conversion panic when attempting to find a volume when not using volumes
7 years ago
Megan Marsh c138edcbe1
Merge pull request #8177 from alrs/virtualbox-builder-dropped-error
7 years ago
Marek Winkler 7e6f58f699 builder/openstack: fix issue 5575 - support shutdown by Sysprep
7 years ago
Lars Lehtonen 4a3a011310
builder/virtualbox/vm: fix dropped error
7 years ago
Megan Marsh 19a9d7149f fix structs and regenerate partials
7 years ago
Kevin Faulkner 1ecfa032ba Qemu builder disk size as a string
7 years ago
Megan Marsh dfaded3f80
Merge pull request #8172 from neumayer/definedtags
7 years ago
larohra 23c320d59e Increased the default polling duration to 60mins
7 years ago
Lars Lehtonen ad860bf1a8
builder: remove deprecated context usage
7 years ago
Robert Neumayer 7dd579f630 Remove commented code
7 years ago
Adrien Delorme a6c8440150
Merge pull request #7862 from carlpett/proxmox-pool-support
7 years ago
Calle Pettersson 8a443a7e21 Allow running the template VM in a Proxmox resource pool
7 years ago
Lars Lehtonen 2b795053b4
builder/vmware: fix dropped test errors
7 years ago
Megan Marsh f4dca172e3
Merge pull request #8155 from hashicorp/on_error_script
7 years ago
Megan Marsh eccf0fb51d update docs
7 years ago
Megan Marsh e047b97bf7
Merge pull request #8162 from hashicorp/fix_8154
7 years ago
Megan Marsh ac6e7a4800 updates tests to validate that ssh_host value supplied in the template overrides all else
7 years ago
Robert Neumayer 70b2d300e6 Support defined tags for oci builder
7 years ago
Adrien Delorme 941dc394f0 Update step_run_spot_instance.go
7 years ago
Adrien Delorme d049284120
Update builder/amazon/common/step_run_spot_instance.go
7 years ago
Adrien Delorme 07e97e26de
step_run_source_instance.go: make sure we use the right ShouldRetry error
7 years ago
Sumit Kalra 91d19adcd7 Ensuring that specifying allowed inbound IP and VNet are mutually exclusive (#2)
7 years ago
Sumit Kalra 132779c343 Adding config to specify allowed inbound IP addresses and CIDR blocks (#1)
7 years ago
Megan Marsh c722009159 we only need one describeInstances call, not 3, and it should be wrapped in a retry
7 years ago
Megan Marsh e47059aaca put retry around describeinstances call in amazon
7 years ago
Megan Marsh 31bb1e818f fix tests
7 years ago
Megan Marsh 0cbd3ff0f3 make sure amazon builders respect ssh_host option
7 years ago
Paul Meyer 698c9c44d4
Merge pull request #8121 from paulmey/clientconfig
7 years ago
Megan Marsh 72d393c95a update docs to show a use case for block device mappings
7 years ago
Megan Marsh 0683bc409b add test for error-cleanup provisioner, and fix tests by fixing null builder to use an actual none communicator instead of skipping communicator generation altogether
7 years ago
Paul Meyer c72a612b44 Re-added tests for FillParamters
7 years ago
Paul Meyer 094a8840d8 Improve comments for FillParameters
7 years ago
Paul Meyer feeae1514e Refactor client config
7 years ago
Megan Marsh e5e864c624
Merge pull request #8143 from hashicorp/google_vault_oauth
7 years ago
Gennady Lipenkov d070b4868a Wrap values with backticks
7 years ago
Gennady Lipenkov 00e4e0c7a7 Add description of field in config struct
7 years ago
Megan Marsh 3c14c50aba Allow user to real oauth token from properly configured Vault instance
7 years ago
Megan Marsh 2a662b451c
Merge pull request #8142 from yandex-cloud/yandex-add-retries
7 years ago
Megan Marsh c24693372d
Merge pull request #8132 from scienty/support_floppy_vmx_esxi
7 years ago
Gennady Lipenkov fceaa9ccf9 Add retries to Yandex builder
7 years ago
Megan Marsh f0461da1a1
Merge pull request #7724 from hashicorp/scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme 4fb05e5bc4 fix test
7 years ago
Adrien Delorme 792f61a4ad fmt
7 years ago
Adrien Delorme 55f1c734d0 fix alicloud docs a little
7 years ago
Adrien Delorme 849de792da re-apply doc changes of master
7 years ago
Adrien Delorme 299544a4c7 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Prakash Sidaraddi 67be007f45 Support floppy_files for vmx on esxi
7 years ago
Megan Marsh 30f86bb778 fix ssh and package steps to use source syntax.
7 years ago
Megan Marsh 577a34b1c3
Merge pull request #8106 from shapeblue-br/master
7 years ago
Megan Marsh 35357616e0
Merge pull request #8112 from milescrabill/packer-googlecompute-validate-imagename
7 years ago
Adrien Delorme f779530715
Merge pull request #8102 from hashicorp/fix_8085
7 years ago
Lars Lehtonen c6212731ff builder/vagrant: fix dropped errors in code and tests
7 years ago
Miles Crabill 2bff60bac8
address review feedback
7 years ago
Miles Crabill 328baced05
add some test cases for image names
7 years ago
Miles Crabill c11a444f77
googlecompute: fail fast when image name is invalid, replace unusable characters w/ -'s
7 years ago
Lars Lehtonen 6c1ce2bd9a builder/openstack: Fix dropped error
7 years ago
Adrien Delorme 4d4bd38afa
Merge pull request #8087 from hashicorp/fix_8048
7 years ago
William Bianchini d022c2194a [cloudstack builder] Detach iso step
7 years ago
Megan Marsh a6e263adb6 don't fall for nil pointer dereference in account file
7 years ago
Megan Marsh fc6a4fd5d8
Merge pull request #8021 from hashicorp/fix_7959
7 years ago
Megan Marsh 9503802814 adding ctx makes the cancel channel redundant
7 years ago
Megan Marsh 4b497006b3 add retry wrapper to query so it handles rate limiting
7 years ago
allinwait 171c2a9a07 add the floppy label option
7 years ago
Adrien Delorme 2e58b807de
Merge pull request #8096 from onematchfox/virtualbox-snapshot
7 years ago
Adrien Delorme 1d0cf1db98
Merge pull request #8092 from milescrabill/fix-vagrant-builder-stepup
7 years ago
Brian Fox 5b6dcb0c94 fix(virtualbox) LoadSnapshots should succeed even if VM has no snapshots
7 years ago