Commit Graph

532 Commits (2fd967482f178de416c951761681d0490a94f513)

Author SHA1 Message Date
Mitchell Hashimoto f2f69e6f7b builder/amazon/ebs: don't need this variable
13 years ago
Mitchell Hashimoto a2481f2300 builder/amazon/common: prefer public DNS if possible for SSH
13 years ago
Mitchell Hashimoto 19b6841e64 builder/common: channels instead of unsafe read/write for communicate
13 years ago
Mitchell Hashimoto 818a10e797 builder/amazon/chroot: use set AMI name
13 years ago
Mitchell Hashimoto 743682d352 builder/amazon/chroot: default volumes dir is relative
13 years ago
Mitchell Hashimoto 07ed22b4fa builder/amazon/chroot: validate that chroot_mounts are 3 elements
13 years ago
Mitchell Hashimoto c0f64f3a1d builder/amazon/chroot: let go of flock earlier for parallelism
13 years ago
Mitchell Hashimoto 3865c33be1 builder/amazon/chroot: fix compilaton on Windows
13 years ago
Mitchell Hashimoto cf99f85f6d builder/amazon/chroot: flock so that device searching is safe
13 years ago
Mitchell Hashimoto b75bd29bfd builder/amazon/chroot: find available device
13 years ago
Mitchell Hashimoto 7857406f3e builder/amazon/chroot: get rid of AttachedDevicePath
13 years ago
Mitchell Hashimoto d23ad907c0 builder/amazon/chroot: register AMI
13 years ago
Mitchell Hashimoto 3667340768 builder/amazon/chroot: switch func type to interface
13 years ago
Mitchell Hashimoto 668631bd87 builder/amazon/common: correct the log statement
13 years ago
Mitchell Hashimoto be5fa9ecdb builder/amazon/chroot: log the exit code for the chroot communicator
13 years ago
Mitchell Hashimoto 8bffbb6f44 builder/amazon/chroot: step to snapshot the root image
13 years ago
Mitchell Hashimoto e418727a09 builder/amazon/chroot: initial len should be 0 so we don't have empty
13 years ago
Mitchell Hashimoto 056292b1dc builder/amazon/chroot: perform early cleanup
13 years ago
Mitchell Hashimoto 2f4bf61f09 builder/amazon/chroot: make sure to remove files before copy
13 years ago
Mitchell Hashimoto aaaad835f6 builder/amazon/chroot: copyfiles support
13 years ago
Mitchell Hashimoto 7ae0f3bafe builder/amazon/chroot: upload should os.Create, not os.Open
13 years ago
Mitchell Hashimoto 5feb11cbb7 builder/amazon/chroot: enable the chroot provisioner
13 years ago
Mitchell Hashimoto 8d3cf7aa59 builder/amazon/chroot: provision within the chroot
13 years ago
Mitchell Hashimoto e0adf3b64e builder/amazon/chroot: unmount in reverse
13 years ago
Mitchell Hashimoto 8cc3743daf builder/amazon/chroot: special case bind fstype
13 years ago
Mitchell Hashimoto af2d314819 builder/amazon/chroot: /bin/sh
13 years ago
Mitchell Hashimoto d7f932244f builder/amazon/chroot: mount extra paths
13 years ago
Mitchell Hashimoto 618e1b1678 builder/amazon/chroot: process MountPath template
13 years ago
Mitchell Hashimoto 8d5f404fa7 builder/amazon/chroot: use the attached device path
13 years ago
Mitchell Hashimoto 54d020b8c3 builder/amazon/chroot: use mountcommand configs
13 years ago
Mitchell Hashimoto 1c34e35574 builder/amazon/chroot: mount the root device
13 years ago
Mitchell Hashimoto ec526d97aa builder/amazon/chroot: more settings, validation
13 years ago
Mitchell Hashimoto cffb35ab33 builder/amazon/chroot: improved logging about what volume created
13 years ago
Mitchell Hashimoto 25eca62986 builder/amazon/chroot: fix types
13 years ago
Mitchell Hashimoto 76071eafc6 builder/amazon/chroot: only let it run on Linux
13 years ago
Mitchell Hashimoto bbcb2ea46b builder/amazon/chroot: put device in state bag
13 years ago
Mitchell Hashimoto b4435f6890 builder/amazon/chroot: more valid transition states while detaching
13 years ago
Mitchell Hashimoto 033218df0d builder/amazon/chroot: Attach volume
13 years ago
Mitchell Hashimoto 12e7042c5b builder/amazon/chroot: wait for volume to beecome ready
13 years ago
Mitchell Hashimoto c7b88d654e builder/amazon/common: generic wait for state to wait for any state
13 years ago
Mitchell Hashimoto 4773b48794 builder/amazon/chroot: delete the EBS volume after we're done
13 years ago
Mitchell Hashimoto 3a416bb105 builder/amazon/chroot: step to gather instance info
13 years ago
Mitchell Hashimoto fa92377ae5 builder/amazon/chroot: create the volume
13 years ago
Mitchell Hashimoto e24cbc1870 builder/amazon/chroot: extract the source AMI info
13 years ago
Mitchell Hashimoto 7f854902ec builder/amazon/chroot: verify we're on an EC2 instance
13 years ago
Mitchell Hashimoto d166433d4a builder/amazon/chroot: rename to builder-amazon-chroot
13 years ago
Mitchell Hashimoto b645586d58 builder/amazon/chroot: boilerplate
13 years ago
Mitchell Hashimoto 0363a1cdc2 builder/virtualbox,vmware: use DownloadableURL
13 years ago
Mitchell Hashimoto 3ae0b2f0a5 builder/common: Don't prepend slash to URL path if path is empty
13 years ago
Mitchell Hashimoto c06c1fee45 builder/common: make rel path absolute in DownloadableURL [GH-215]
13 years ago
Mitchell Hashimoto 8db5390553 builder/common: add DownloadableURL to remove duplication parsing URLs
13 years ago
Ross Smith II cf46148300 added missing fallthru in case statement for linux option, fixes #221, #222
13 years ago
Ross Smith II 56c383cf68 gofmt fixes, improved/added log messages, fixes #221/#222
13 years ago
Ross Smith II 071a6099c8 fixes #221 Add support for VMWare Workstation in Windows
13 years ago
Mitchell Hashimoto 83aca618d8 builder/amazon/common: wait for AMI to be available [GH-207]
13 years ago
Mitchell Hashimoto ce5849308b fmt
13 years ago
Mitchell Hashimoto 1d0adbf2c2 builder/amazon/*: sigint while waiting for state change works
13 years ago
Jeff Stamerjohn 32eaa39a5f Merge branch 'master' into jstamerj/windows
13 years ago
Jeff Stamerjohn 4ff0185add Windows fixes
13 years ago
Mitchell Hashimoto fc39042283 builder/amazon/instance: default x509_upload_path
13 years ago
Mitchell Hashimoto d46741e4f7 builder/amazon/*: wait for AMI to be ready in common, use it instance
13 years ago
Mitchell Hashimoto b5fdab407f builder/amazon/instance: register AMI using API
13 years ago
Mitchell Hashimoto 0552bc7306 builder/amazon/instance: register the AMI
13 years ago
Mitchell Hashimoto 03a2cc8b22 builder/amazon/instance: prefix has CreateTime support
13 years ago
Mitchell Hashimoto c504beacc6 builder/amazon/instance: upload bundle
13 years ago
Mitchell Hashimoto 877172166b builder/amazon/instance: bundle volume and keep track of dir
13 years ago
Mitchell Hashimoto 63474f47e4 builder/amazon/instance: run ec2-bundle-vol in batch mode
13 years ago
Mitchell Hashimoto d3d7bfe876 builder/amazon/instance: sudo the ec2-bundle-vol by default
13 years ago
Mitchell Hashimoto 7763411914 builder/amazon/instance: detect error bundling
13 years ago
Mitchell Hashimoto c1361b0cf5 builder/amazon/instance: ec2-bundle-vol is called
13 years ago
Mitchell Hashimoto fd43c27de1 builder/amazon/instance: check for the ami tools
13 years ago
Mitchell Hashimoto 110fd0e17f builder/amazon/common: SSH into private IP if in VPC
13 years ago
Mitchell Hashimoto dd1c4d4d2a fmt
13 years ago
Mitchell Hashimoto c710323f04 builder/amazon/*: Fix failing tests from rebase of VPC
13 years ago
Mitchell Hashimoto f94500b324 builder/amazon/instance: boilerplate for bundle volume
13 years ago
Mitchell Hashimoto 2674bdc96d builder/amazon/instance: after upload x509, should continue
13 years ago
Mitchell Hashimoto 39b3b18d81 builder/amazon/instance: upload x509 cert
13 years ago
Mitchell Hashimoto e85a01d9da fmt
13 years ago
Mitchell Hashimoto 992a9bfb22 builder/amazon/common: extract Artifact
13 years ago
Mitchell Hashimoto 0a76d07363 builder/amazon: provision on instance
13 years ago
Mitchell Hashimoto 2f9840a4cf builder/amazon: extract SSH connect funcs
13 years ago
Mitchell Hashimoto 64ced7ff2c builder/amazon: extract StepRunSourceInstance
13 years ago
Mitchell Hashimoto 30ab70388b builder/amazon/common: panic if SSHPot is 0
13 years ago
Mitchell Hashimoto 4f568f4998 builder/amazon: extract StepSecurityGroup
13 years ago
Mitchell Hashimoto 45096d0768 builder/amazon: extract StepKeyPair for both
13 years ago
Mitchell Hashimoto b3edb2fba5 fmt
13 years ago
Mitchell Hashimoto 1750b34f70 builder/amazon/*: clean up tests
13 years ago
Mitchell Hashimoto 60ed71b2ff builder/amazon/common: tests for runconfig
13 years ago
Mitchell Hashimoto 56c3cbfb2a builder/common: common config struct for Packer configs
13 years ago
Mitchell Hashimoto 4878cec0e4 builder/amazon/ebs: validate access config
13 years ago
Mitchell Hashimoto e5e306049c builder/amazon/common: RunConfig for launch info
13 years ago
Mitchell Hashimoto 5aced3f339 builder/amazon/common: AccessConfig for standard access config
13 years ago
Mitchell Hashimoto 980841b6c0 builder/amazon/instance: boilerplate
13 years ago
Mitchell Hashimoto 56cf09f29e builder/virtualbox: shutdown messages go to Ui
13 years ago
Mitchell Hashimoto 665b03a342 fmt
13 years ago
Rafael Garcia 1ad53e1050 builder/amazon/ebs: support launching in VPC
13 years ago
Mitchell Hashimoto f6854ae07e builder/vmware: more flexible ISO removing
13 years ago
Mitchell Hashimoto e05e83f9c8 Merge pull request #203 from timsutton/vmware-eject-isos
13 years ago
Mitchell Hashimoto 91c1bf0b8a Merge pull request #204 from sit/builder-output-directory-error
13 years ago
Mitchell Hashimoto d999d1c5dd Merge pull request #205 from sit/preserve-cache-suffix
13 years ago
Mitchell Hashimoto e84811e2f8 Update changelog
13 years ago
JD Harrington dbd45dfd58 Add special keys for backspace, delete and F1-F12
13 years ago
Emil Sit 329266e86e builder/v*: Include path to output dir in error
13 years ago
Emil Sit e171477e15 Revert "builder/virtualbox: Copy ISO because VirtualBox can't recognize"
13 years ago
Timothy Sutton 0c7efde103 Remove ISO from ide1 in stepCleanVMX
13 years ago
Mitchell Hashimoto 16d102d055 builder/*: switch to MultiErrorAppend
13 years ago
Mitchell Hashimoto a61f178606 builder/common: CheckUnusedConfig
13 years ago
Mitchell Hashimoto 42059f9b07 builder/*: extract to common the config decoding
13 years ago
Mitchell Hashimoto e84669aa37 builder/common: extract out decode config
13 years ago
Doug MacEachern e531af96e1 fix Fusion DhcpLeasesPath
13 years ago
Mitchell Hashimoto 9d31a49fad builder/vmware: look for license for WS9
13 years ago
Mitchell Hashimoto d126c45d77 builder/vmware: workstation 9 show stderr if command fails
13 years ago
Mitchell Hashimoto a9252959ba builder/vmware: wording
13 years ago
Mitchell Hashimoto 05e081e07f builder/vmware: split drivers out into individual files
13 years ago
Julian Phillips 4846d252a3 builder/vmware: Add support for Workstation 9 (Linux).
13 years ago
Mitchell Hashimoto 59c89faaf4 builder/common: only count handshake error if auth tried
13 years ago
Mitchell Hashimoto 29279415d0 builder/vmware: error if guest IP is blank [GH-189]
13 years ago
Mitchell Hashimoto 8e1e40c096 builder/*: convert to common StepProvision
13 years ago
Mitchell Hashimoto f170c6f564 builder/common: add StepProvision
13 years ago
Mitchell Hashimoto b358574636 builder/amazon/ebs: rename to amazon/ebs in order to support others
13 years ago
Mitchell Hashimoto fd58b33b38 builder/vmware: convert to cmmon ssh step
13 years ago
Mitchell Hashimoto 979bfc412e builder/virtualbox: use common SSH connect step
13 years ago
Mitchell Hashimoto 3bf49d1c66 builder/digitalocean: use common connect ssh
13 years ago
Mitchell Hashimoto ac7807e7e5 builder/common: if cancel during SSH, cancel the attempts
13 years ago
Mitchell Hashimoto 29bfab0631 builder/amazonebs: switch to common SSH connect step
13 years ago
Mitchell Hashimoto 193de1f5d3 builder/common: add common StepConnectSSH for builders
13 years ago
Mitchell Hashimoto 9387ba0fd4 packer: Make builder type available in configs [GH-154]
13 years ago
Mitchell Hashimoto 6b6beae3b8 builder/vmware: unexport calculted config fields
13 years ago
Mitchell Hashimoto 16960a52f2 builder/virtualbox: unexport calculated fields
13 years ago
Mitchell Hashimoto 05acb7b461 builder/digitalocean: unexport calcaulted settings
13 years ago
Mitchell Hashimoto 51206a491b builder/amazonebs: Don't export sshTimeout so it can't be set
13 years ago
Mitchell Hashimoto a0f1667df1 communicator/ssh: tweakable timeout on retry connection
13 years ago
Mitchell Hashimoto 2fff555e7f fmt
13 years ago
Mitchell Hashimoto 9718a4656c communicator/ssh: have a Connection func so we can re-establish
13 years ago
Mitchell Hashimoto 186e9509d4 builder/common: support sha1/sha256 hashes
13 years ago
Mitchell Hashimoto 569ec0a2bb builder/vmware: generic checksum types [GH-175]
13 years ago
Mitchell Hashimoto 3007498282 builder/virtualbox: support generic hash types [GH-175]
13 years ago
Mark Peek 86db4eaa57 Move AWS auth decisions to goamz [GH-160]
13 years ago
Mitchell Hashimoto 3b4ef72e47 Unused keys are invalid in templates [GH-104]
13 years ago
Mitchell Hashimoto 245deaf599 buidler/virtualbox,vmware: only stat if not force
13 years ago
Jason A. Beranek 9c31c69a7b Remove output directory in a step when "-force" flag step [GH-178]
13 years ago
Mitchell Hashimoto 2981da4eef fmt
13 years ago
Mitchell Hashimoto 2e492fd747 Merge pull request #173 from jasonberanek/force-build
13 years ago
Mitchell Hashimoto 2fdcf85510 Merge pull request #162 from brendanhay/persistent-security-group
13 years ago
Mitchell Hashimoto 13182d97b5 Merge pull request #164 from mitchellh/do-env-vars
13 years ago
Jack Pearkes 490279c6b9 builder/digitalocean: add tests for credentials via env vars
13 years ago
Jason A. Beranek 13c733a3db Add support for -force flag on builds [GH-119]
13 years ago
Mitchell Hashimoto e52f8e0486 fmt
13 years ago
Mitchell Hashimoto bdac2a87ef Update CHANGELOG
13 years ago
Mitchell Hashimoto 7a9109d2a9 Merge pull request #172 from MattSurabian/feature/ebs-builder-bug
13 years ago