Commit Graph

4923 Commits (bbd64896a0341909dcc593babb429b86d2e4f296)

Author SHA1 Message Date
Lars Lehtonen 643fce7b8a builder/hcloud: handle dropped ssh errors
7 years ago
Adrien Delorme db4f242a24 go generate ./builder/qemu after #7676
7 years ago
Megan Marsh 6e2456d028 make error messaging around ResourceNotReady better, update docs with other possible issues (#8349)
7 years ago
Megan Marsh 98c94ab8cb
Merge pull request #7676 from ltrager/master
7 years ago
Megan Marsh e70e82d892
Merge pull request #8342 from cove/retry-runinstances2
7 years ago
Li Kexian f2f544c434 fixed get copy region value (#8345)
7 years ago
Megan Marsh d5ba530b26 make it clear we expect pem format not some other formate (#8344)
7 years ago
Lars Lehtonen 5f02150e05
builder/vmware/common: defer close after testing for errors
7 years ago
cove 2898d66812
retry runinstances aws api that wasn't retried and could fail
7 years ago
Adrien Delorme a36b94320a virtualbox: simplify ParseSnapshotData
7 years ago
Lars Lehtonen 5a0dc48f0f
builder/file: defer close after testing for errors
7 years ago
Adrien Delorme 116a038de9 Update snapshot.go
7 years ago
Adrien Delorme 44a7c49334
Merge pull request #8320 from hashicorp/do_8228
7 years ago
Adrien Delorme ee6b72570b Update builder.hcl2spec.go
7 years ago
Megan Marsh 5692294a96 use absolute path for vagrantfile to avoid confusion with build directory later
7 years ago
Megan Marsh 6c704f7046 Revert "fix template imports"
7 years ago
Megan Marsh d010762dbf Revert "Revert "Qemu builder disk size as a string""
7 years ago
Megan Marsh 517834d528 Revert "Revert "remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name""
7 years ago
Adrien Delorme 14243ce56a
Merge pull request #8305 from hashicorp/fix_8301
7 years ago
Adrien Delorme c935eb1435
Merge pull request #8308 from alrs/prune-dead-linode-func
7 years ago
Adrien Delorme a23801d4a9 builder.virtualbox.iso: document that EFI mode needs to be enabled for pcie/nvme to work too
7 years ago
Lars Lehtonen 9924d16fc3
builder/vmware/common: remove unused testHWConfig()
7 years ago
Lars Lehtonen 6eefe55e23
builder/vmware/iso: remove unused testState()
7 years ago
Lars Lehtonen af1e41793d
builder/linode: move commHost() out of orphaned ssh.go
7 years ago
Lars Lehtonen 9dad09b9d3
builder/linode: remove unused sshConfig() function and associated import
7 years ago
Megan Marsh fcb65ee422
Merge pull request #8307 from hashicorp/fix_8116
7 years ago
Megan Marsh e9e4c102e5 delete amazon import post-processor intermediary snapshots
7 years ago
Megan Marsh 974eba443a update docs to include warning about extension pack
7 years ago
Adrien Delorme b790776096 vbox iso: use NVMe Controller when the hard drive interface if pcie
7 years ago
Adrien Delorme 86e24df947
Merge pull request #8304 from alrs/remove-dead-openstack-test-function
7 years ago
Adrien Delorme 1b7ef252d2
Merge pull request #8303 from alrs/amazon-builder-cleanup
7 years ago
Megan Marsh 6f54468dd5 fix mocks
7 years ago
Megan Marsh 65ad3105b3 udpdate generated code
7 years ago
Megan Marsh 9343a23021 add driver calls to enable nvme controller
7 years ago
Megan Marsh d2867c47f0 allow nvme, since virtualbox 6.0 allows it
7 years ago
Lars Lehtonen b68c75ea3e
builder/openstack: remove dead testConfig() function
7 years ago
Lars Lehtonen d072079899
builder/amazon/common: remove dead test type and function mockEC2Conn_Modify_EBS.ModifyInstanceAttribute()
7 years ago
Lars Lehtonen 953be1603b
builder/amazon/common: remove dead test type and function mockEC2ConnSpot.DescribeSpotPriceHistory()
7 years ago
Lars Lehtonen 7a09f9c678
builder/amazon/common: remove dead test function fakeModifyEBSBackedInstanceState()
7 years ago
Lars Lehtonen 0a13b620d6
builder/amazon/common: remove dead test function StepModifyEBSBackedInstance_EnableAMIENASupport()
7 years ago
Lars Lehtonen c74df8b652
builder/amazon/common: remove dead test function getMockConnSpot()
7 years ago
Lars Lehtonen e5e2bfa83f
builder/amazon/common: remove nil check on slice, len() on nil slices is zero
7 years ago
Adrien Delorme 1efd86e809 Linode: remove unused StateTimeout field
7 years ago
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
7 years ago
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
7 years ago
Adrien Delorme ada9821897
Merge pull request #8294 from hashicorp/do_7974
7 years ago
Megan Marsh 2fa79c6086 fix tests
7 years ago
Megan Marsh 8f996cd4de update docs
7 years ago
Megan Marsh 3b3aa562ed add insert_key option for toggling whether to add Vagrant's insecure key
7 years ago
Megan Marsh 553ca2e15d
Merge pull request #8293 from alrs/fix-azure-chroot-dropped-err
7 years ago
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