Mitchell Hashimoto
7a46b80cfb
builder/openstack-new: better UI
11 years ago
Mitchell Hashimoto
551e80774d
builder/openstack-new: fix some issues
11 years ago
Mitchell Hashimoto
c903579aaa
builder/openstack-new
11 years ago
Mitchell Hashimoto
3933cc3217
Merge pull request #2208 from mitchellh/b-do-user
...
builder/digitalocean: user data support [GH-2113]
11 years ago
Clint
2af0f10d59
Merge pull request #2204 from mitchellh/b-aws-iam-profile-upload
...
builder/amazon-instance: Omit access, secrety key if using IAM Instan…
11 years ago
Clint Shryock
1fbf8b7f32
update create_tags for new sdk
11 years ago
Clint Shryock
a8155e17aa
merge acaire/add-ebs-snapshot-tags
11 years ago
Clint
900f3641c5
Merge pull request #2207 from mitchellh/f-amazon-allow-ami-name-spaces
...
builder/amazon: Allow spaces in AMI names
11 years ago
Mitchell Hashimoto
dcf140f99f
builder/digitalocean: more robust wait for pending
11 years ago
Mitchell Hashimoto
0e0cd28071
builder/digitalocean: fix failing unit tests
11 years ago
Mitchell Hashimoto
5cfd26a0d3
builder/digitalocean: user data support [GH-2113]
11 years ago
Mitchell Hashimoto
c9c9e2871c
builder/digitalocean: fix build
11 years ago
Mitchell Hashimoto
7dc59677f9
Merge branch 'do_certificate' of https://github.com/ColinHebert/packer into ColinHebert-do_certificate
11 years ago
Mitchell Hashimoto
5da56d2aa6
builder/digitalocean: image, region, etc. required
11 years ago
Mitchell Hashimoto
311c9eb5c2
builder/digitalocean: fix unit tests
11 years ago
Clint Shryock
2056fda4d3
builder/amazon: Allow spaces in AMI names
11 years ago
Mitchell Hashimoto
9a393a5601
builder/digitalocean: only list user images
11 years ago
Mitchell Hashimoto
486c7e4ae6
builder/digitalocean: remove unused things
11 years ago
Mitchell Hashimoto
d9c48e82fb
builder/digitalocean: switch to new lib
11 years ago
Clint Shryock
c9b413e3d1
builder/amazon-instance: Omit access, secrety key if using IAM Instance Profile
11 years ago
Mitchell Hashimoto
9da9ce6046
vmware/iso: disk_additional_size
11 years ago
Mitchell Hashimoto
3ba9d70b22
Merge pull request #1382 from sneal/AdditionalDisksForVMwareISO
...
Additional disks for vmware iso
11 years ago
Mitchell Hashimoto
1d653efe90
Merge pull request #2174 from brandonheller/master
...
vmware/iso: support hierarchical output directories
11 years ago
Mitchell Hashimoto
fafdfc962f
vmware/common: detect Vmware 'unknown error' and show better message
11 years ago
Mitchell Hashimoto
bd04b52b32
virtualbox/common: style
11 years ago
Mitchell Hashimoto
8d6a99457a
Merge pull request #1078 from pleschev/skip_nat_port
...
Adding the ability to skip nat port forwarding for ssh connectivity
11 years ago
Mitchell Hashimoto
be4a82dfae
amazon/*: fix some merge conflicts
11 years ago
Mitchell Hashimoto
8e1db0d94c
Merge branch 'fix_amazon_instance_waits' of https://github.com/renat-sabitov/packer into renat-sabitov-fix_amazon_instance_waits
11 years ago
Mitchell Hashimoto
0b819e4dd8
Merge pull request #2199 from rickard-von-essen/prl_pd11
...
Support Parallels Desktop 11
11 years ago
Jan Schumann
802cfa3871
make sure IOPS is not set for empty VolumeType
11 years ago
Jan Schumann
5d600c70f2
added test to illustrate wrong behavior
11 years ago
Rickard von Essen
8393b85ed5
Support Parallels Desktop 11
11 years ago
Mitchell Hashimoto
f6f9cca7ce
Merge pull request #2189 from mitchellh/b-download-extension
...
common: StepDownload can force an extension
11 years ago
Clint
b31534d5fe
Merge pull request #2197 from mitchellh/f-aws-fixup-ebs-snapshots
...
Update AWS EBS builder to fix invalid params
11 years ago
Clint Shryock
4da118c64f
fix up tests
11 years ago
Clint Shryock
999b0874cc
Update AWS EBS builder to fix invalid params
11 years ago
Clint Shryock
8c321138f4
Revert "Changing --region to --location"
...
This reverts commit f40fd36c31 .
According to the documentation below, `--region` is the current flag. If you're
using an older version of the tools that use `--location`, you can customize the
commands in your Packer config with `bundle_vol_command` and `bundle_upload_command`
- http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/CLTRG-ami-upload-bundle.html
- https://www.packer.io/docs/builders/amazon-instance.html
11 years ago
Mitchell Hashimoto
23a48d6619
go fmt
11 years ago
Mitchell Hashimoto
fa2bcb8bc5
update CHANGELOG
11 years ago
Mitchell Hashimoto
2373640881
Merge pull request #1663 from beezly/fix-vnc-missed-keys
...
Add 1/10th second delay between key events to VNC
11 years ago
Mitchell Hashimoto
20504da796
Merge pull request #2190 from mitchellh/b-http-addr
...
virtualbox,vmware: http server should listen on IPv4
11 years ago
Mitchell Hashimoto
a8cd2a2223
Merge pull request #2038 from trumant/openstack_access_config_tests_env_clarity
...
Tests were failing incorrectly when OpenStack environment variables were...
11 years ago
Mitchell Hashimoto
60b60d9f75
Merge pull request #2036 from mojotalantikite/digitalocean_private
...
Fix digitalocean provider for private images [fixes mitchellh/packer#1792 ]
11 years ago
Mitchell Hashimoto
115b8f5f67
Merge pull request #2188 from mitchellh/b-vbox-remove-floppy
...
virtualbox/common: remove devices should delete floppy controller
11 years ago
Mitchell Hashimoto
9dff0adfb1
builder/google: don't hardcode SSH timeout [GH-1781]
11 years ago
Mitchell Hashimoto
9f0b8b71db
virtualbox,vmware: http server should listen on IPv4
11 years ago
Mitchell Hashimoto
9ea34d4ea8
virtualbox/iso: force iso extension for downloads
11 years ago
Mitchell Hashimoto
35246ba986
virtualbox/common: fix test
11 years ago
Mitchell Hashimoto
b441348ba4
virtualbox/common: remove devices should delete floppy controller
...
GH-1879
11 years ago
Mitchell Hashimoto
0885e03bbf
virtualbox/iso: acceptance test
11 years ago
Clint
455d57a87f
Merge pull request #2187 from mitchellh/f-aws-add-prevalidate-step
...
builder/aws: Add pre validate step, to validate things before building.
11 years ago
Clint Shryock
68040f786c
show AMI id in error message
11 years ago
Clint Shryock
231f01cd35
builder/aws: Add pre validate step, to validate things before building.
11 years ago
Mitchell Hashimoto
984bbc3a1e
amazon/common: wording nit
11 years ago
Mitchell Hashimoto
8aec42e363
update CHANGELOG
11 years ago
Mitchell Hashimoto
9387cc1ea1
Merge pull request #2175 from henrysher/fix-duplicate-ami
...
check the region before do the ami copy to fix the duplicate ami [GH-2123]
11 years ago
Mitchell Hashimoto
f7e49d92ac
Merge pull request #2178 from henrysher/fix-ami-copy-name
...
"Name" parameter required for copying ami across regions [GH-2172]
11 years ago
Mitchell Hashimoto
769b7d20b9
amazon/ebs: acceptance test for region copy
11 years ago
Vasiliy Tolstov
3d94462e37
remove image format from image name
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
11 years ago
Henry Huang
052b5e6699
"Name" parameter required for copying ami across regions [GH-2172]
11 years ago
Shawn Neal
e9a491ae45
New interpolation for additional vmware disks
11 years ago
Eric Richardson
5f183026b3
Fix vmware compact_disk step when there are no additional disks
11 years ago
Eric Richardson
7dfb837ddb
Formatting cleanups from `go fmt`
11 years ago
Eric Richardson
fab9ca9cdb
Initial work to implement additional disk support in the vmware-iso builder
...
* Matches the syntax from mitchellh/packer#703
* Creates disk(s), adds them to the vmx template, and runs compact at the end
11 years ago
Henry Huang
a5c476c6fe
check the region before do the ami copy to fix [GH-2123]
11 years ago
Brandon Heller
a7eeb6a6a7
vmware/iso: support hierarchical output directories
...
When providing a hierarchical output_directory value like
'transient/jenkins-slave', the VM would fail to build in the CreateDisk
step. The properly created output directory would not match the location
provided to CreateDisk, since datastorePath() did not properly split such
paths. Now this case works; tested hierarchical and singular
output_directory values.
11 years ago
Seth Vargo
33ca8b7fb5
Migrate to new AWS repo
11 years ago
Mitchell Hashimoto
edf3415c6e
builder/amazon: delete physical private key for debug mode [GH-1801]
11 years ago
Mitchell Hashimoto
3f636ef7f3
vmware/vmx: clarify messaging for source path required error
11 years ago
Mitchell Hashimoto
819986d19f
builder/docker: validate export path is not a dir [GH-2105]
11 years ago
Mitchell Hashimoto
350aa4e522
Merge pull request #2055 from FGtatsuro/docker_tag_force
...
Support force option for docker-tag.
11 years ago
Andrew Bayer
ebdd0d991a
Adds support for using the internal IP rather than NAT IP in GCE
11 years ago
Mitchell Hashimoto
31ac2652d6
bulder/docker: canExec as sep function
11 years ago
Mitchell Hashimoto
ce275969e4
builder/docker: don't attempt to read artifact if cancelled
11 years ago
Mitchell Hashimoto
6570b53c4a
builder/docker: use exec for v1.4+
11 years ago
Mitchell Hashimoto
966d70148e
Merge branch 'donaldguy-docker-exec-by-version' into f-docker
11 years ago
Mitchell Hashimoto
9587a926a2
Merge branch 'docker-exec-by-version' of https://github.com/donaldguy/packer into donaldguy-docker-exec-by-version
11 years ago
Mitchell Hashimoto
9c7b4b63c5
builder/docker: fix config parsing
11 years ago
Mitchell Hashimoto
913d6f6996
builder/amazon/common: fix compilation issues with latest libs
11 years ago
Mitchell Hashimoto
07734133a3
builder/amazon: fix test failures
11 years ago
Mitchell Hashimoto
7e74a38ff8
Merge pull request #2000 from cyberhouse/ifconfig-regex
...
Make the Vmware build extract the host IP properly from ifconfig stdout
11 years ago
Mitchell Hashimoto
7bd618b56b
Merge pull request #1989 from marcomorain/upper-case-mac-address
...
Fix for VMWare on OSX – MAC address can be upper or lower case
11 years ago
Mitchell Hashimoto
8cac7e8d51
Merge pull request #1930 from bhourigan/issue1929
...
Prepending -i to sudo so PATH is inherited from profile.d scripts
11 years ago
Mitchell Hashimoto
3031886aaf
Merge branch 'master' of https://github.com/aocsolutions/packer into aocsolutions-master
11 years ago
Mitchell Hashimoto
11e2fad6d0
Merge pull request #2022 from mefellows/issue/2021
...
Report error during Temporary Security Group creation in AWS EBS builder
11 years ago
Mitchell Hashimoto
b78b119a11
amazon/*: fix merge issues with lib switch
11 years ago
Mitchell Hashimoto
44b980e659
Merge branch 'aws-sdk-go' of https://github.com/jen20/packer into jen20-aws-sdk-go
11 years ago
Mitchell Hashimoto
b9bfae8da3
amazon/chroot: style
11 years ago
Mitchell Hashimoto
20fa7aeeb6
Merge pull request #2046 from danschaffer/amazonchroot-volumes-retry-fix
...
builder/amazon/chroot: fix no attachments on volume error.
11 years ago
jszwedko
b1497b951c
code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh
...
code.google.com/p/go.crypto/ssh is now at golang.org/x/crypto/ssh as of
https://code.google.com/p/go/source/detail?spec=svn.crypto.69e2a90ed92d03812364aeb947b7068dc42e561e&repo=crypto&r=8fec09c61d5d66f460d227fd1df3473d7e015bc6
Using the code.google.com import redirects properly, but runs into
issues if you try to use a subpackage of `ssh`, e.g. `agent` which
refers to golang.org/x/crypto/ssh causing conflicts if your types expect
code.google.com/p/go.crypto/ssh.
This is a precursor to a PR for #1066 .
11 years ago
Mitchell Hashimoto
77af5f83f7
Merge pull request #2120 from vtolstov/discard
...
add discard option to qemu builder
11 years ago
Mitchell Hashimoto
c78c4e78ad
amazon/common: sleep 3 seconds if instance doesn't exist
11 years ago
Mitchell Hashimoto
f78d7eefdc
Merge pull request #2129 from lokulin/master
...
Fixes #2128 Retry the AWS API when looking for a newly created instance
11 years ago
Mitchell Hashimoto
1d3a4d6aa2
packer: remove ConfigTemplate
11 years ago
Mitchell Hashimoto
4bb16ac223
fix failing tests
11 years ago
Mitchell Hashimoto
c3b75f4b86
vmware/vmx: interpolation
11 years ago
Mitchell Hashimoto
f5945eeb1b
vmware/iso: new interpolation
11 years ago
Mitchell Hashimoto
0dc4226810
builder/virtualbox/ovf: new interpolation
11 years ago
Mitchell Hashimoto
d15bc90453
builder/virtualbox/iso: new interpolation
11 years ago
Mitchell Hashimoto
b2b74431ec
builder/parallels/pvm: interpolation
11 years ago
Mitchell Hashimoto
76c2d2cb0e
builder/parallels/iso: new interpolation
11 years ago
Mitchell Hashimoto
3e76547bff
bulder/qemu: convert interpolation
11 years ago
Mitchell Hashimoto
4cae87645f
builder/docker: fix issue where docker might get nil interp context
11 years ago
Mitchell Hashimoto
3b29fa5e40
builder/openstack: convert interpolation
11 years ago
Mitchell Hashimoto
31bdb4853c
builder/null: interpolations
11 years ago
Mitchell Hashimoto
5aa30caa64
builder/googlecompute: new interpolation
11 years ago
Mitchell Hashimoto
faf327eed0
builder/docker: convert to new interpolation
11 years ago
Mitchell Hashimoto
7d0f94834e
builder/digitalocean: interpolation change
11 years ago
Mitchell Hashimoto
034e4e676c
amazon/*: use new interpolation functions
11 years ago
Mitchell Hashimoto
50d7c598e9
amazon/ebs: use new interpolation stuff
11 years ago
Mitchell Hashimoto
fea8bb3566
amazon/ebs: basic acceptance test
11 years ago
lokulin
bda4ef7c65
Retry the AWS API when looking for a newly created instance
...
Sometimes the AWS API responds that it can't find a newly created
instance if you poll it too soon after creation. Retry a few times
to be sure it really hasn't been created.
11 years ago
Vasiliy Tolstov
3984f5e6f6
add discard option to qemu builder
...
Enabling discards for disk can greatly minimize disk size then user
inside vm use fstrim command or trim/discard unneded blocks.
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
11 years ago
Rickard von Essen
1365627e31
Fixes #2080 Add prlctl_post in builder Parallels
...
This adds config option prlctl_post for builder parallels-iso/pvm. It
allows additional prlctl commands to run after the VM has been shutdown
just before being exported.
11 years ago
duftler
6d28ee931c
Delete GCE disk on SIGINT.
11 years ago
FGtatsuro
09f379a928
Support force option for docker-tag.
11 years ago
Mitch Garnaat
fd5f4c61ae
Added a call to grep for path in /proc/mounts before attempting to umount. If path is not there, it is already unmounted.
11 years ago
Dave Cunningham
982934dfb9
Use new Google API and OAuth libs, add UserAgent string
11 years ago
Dan Schaffer
03436a3745
builder/amazon/chroot: fix no attachments on volume error.
...
This adds retry logic to the amazon/chroot builder. The builder
intermittently fails when ec2conn shows the volume in the attached
state but calling Volumes[0].Attachments return an empty array. The
fix adds a retry logic for when Volumes[0].Attachments has len 0 sleep
for 2 seconds and retry up to 30 times.
When the Volumes[0].Attachments is empty I find within 5 seconds the
Volumes[0].Attachments contains the correct value.
The issue is reported in:
https://github.com/mitchellh/packer/issues/1854
11 years ago
James Nugent
65a9347b1e
Fix potential nil pointer errors in ported code
...
This commit adds extra nil checks for some pointers which were not
necessary when using goamz
11 years ago
James Nugent
33b4f5cc0a
Check for EBS being nil before assigning it
11 years ago
Travis Truman
7bd37b1f7a
Tests were failing incorrectly when OpenStack environment variables were set in the environment running the tests
11 years ago
James Nugent
e99cd56b6c
Migrate from mitchellh/goamz to awslabs/aws-sdk-go
...
This commit moves the Amazon builders of Packer away from the Hashicorp
fork of the goamz library to the official AWS SDK for Go, in order that
third party plugins may depend on the more complete official library
more easily.
11 years ago
Vilmos Nebehaj
956b9ded0a
Try another ssh port if the current one is taken.
11 years ago
Matt Fellows
a973dce7d3
Report error code during Temporary Security Group creation ( #2021 )
11 years ago
Brian Hourigan
a4cfd921f4
Adding missing hyphen to sudo options
11 years ago
Nevins Bartolomeo
6686b62347
AWS availability zone could be incorrect when using spot instances with no AZ specified
11 years ago
Georg Großberger
8c0169b1c4
Make the Vmware build extract the host IP properly from ifconfig stdout
11 years ago
Donald Guy
a7206aebd7
builder/docker: attempt to satisfy travis for #1993
11 years ago
Donald Guy
df7623d9d8
builder/docker: Run scripts /w `exec` if -v > 1.4
11 years ago
Marc O'Morain
9b2d219cab
MAC address can be upper or lower case
11 years ago
Mojo Talantikite
d174ffe1fa
Fix digitalocean provider for private images [ fixes mitchellh/packer#1792 ]
11 years ago
renat-sabitov-sirca
d046e1cc5b
Fixing transient AWS errors during EBS builds
...
Relates to #1539
AWS is eventually consistent and instance can be not visibile for
some time after creation. This fix eliminates describe-instances
call before going to the proper wait loop
11 years ago
Andrew Beresford
a81c8905fb
Add 1/10th second delay between key events to VNC
11 years ago
Ash Caire
361e859556
Add EBS snapshot tags
11 years ago
Colin Hebert
a08725f7c5
Add auto discovery of AZ based on the subnet
11 years ago
Emil Hessman
57468b3d1a
builder/vmware/iso: fix incorrect printf verb type in test
...
Fixes the following vet report:
builder/vmware/iso/builder_test.go:178: arg b.config.DiskSize for printf verb %s of wrong type: uint
11 years ago
Emil Hessman
fdb64f6f25
builder/vmware/common: fix missing format argument for Fatalf call in test
...
Fixes the following vet report:
builder/vmware/common/step_shutdown_test.go:130: missing argument for Fatalf("%s"): format reads arg 1, have only 0 args
11 years ago
Emil Hessman
96b62af551
builder/virtualbox/iso: fix incorrect printf verb type
...
Fixes the following vet report:
builder/virtualbox/iso/builder_test.go:86: arg b.config.DiskSize for printf verb %s of wrong type: uint
11 years ago
Emil Hessman
cceb4b2868
builder/qemu: fix incorrect printf verb type
...
Fixes the following vet report:
builder/qemu/builder_test.go:163: arg b.config.DiskSize for printf verb %s of wrong type: uint
11 years ago
Emil Hessman
b19f9b9777
builder/parallels/iso: fix incorrect printf verb type
...
Fixes the following vet report:
builder/parallels/iso/builder_test.go:78: arg b.config.DiskSize for printf verb %s of wrong type: uint
11 years ago
Emil Hessman
f5782084e5
builder/openstack: address vet reports
...
Fixes the following vet reports:
builder/openstack/artifact.go:44: arg a.ImageId for printf verb %d of wrong type: string
builder/openstack/step_wait_for_rackconnect.go:24: arg server for printf verb %s of wrong type: *github.com/mitchellh/gophercloud-fork-40444fb.Server
11 years ago
Emil Hessman
002e50f493
builder/googlecompute: fix formatting directives
...
Fixes the following vet reports:
builder/googlecompute/step_create_instance_test.go:42: possible formatting directive in Fatal call
builder/googlecompute/step_teardown_instance_test.go:29: possible formatting directive in Fatal call
builder/googlecompute/step_teardown_instance_test.go:39: possible formatting directive in Fatal call
11 years ago
Emil Hessman
413b84af6b
builder/digitalocean: fix incorrect printf verb types
...
Fixes the following vet reports:
builder/digitalocean/builder_test.go:267: arg b.config.SSHUsername for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:300: arg b.config.RawSSHTimeout for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:341: arg b.config.RawStateTimeout for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:382: arg b.config.PrivateNetworking for printf verb %s of wrong type: bool
builder/digitalocean/builder_test.go:397: arg b.config.PrivateNetworking for printf verb %s of wrong type: bool
11 years ago
Emil Hessman
505f51ff27
builder/amazon/ebs: fix incorrect printf verb type
...
Fixes the following vet report:
builder/amazon/ebs/step_create_ami.go:90: arg resp.Return for printf verb %s of wrong type: bool
11 years ago
Emil Hessman
05c2206684
builder/amazon/common: fix incorrect printf verb type in amiRegionCopy
...
Fixes the following vet reports:
builder/amazon/common/step_ami_region_copy.go:81: arg target for printf verb %s of wrong type: github.com/mitchellh/goamz/aws.Region
builder/amazon/common/step_ami_region_copy.go:93: arg target for printf verb %s of wrong type: github.com/mitchellh/goamz/aws.Region
11 years ago
Seth Vargo
c338d313db
Merge pull request #1925 from tdooner/add_rackconnect_support
...
Add Rackconnect support to openstack builder
11 years ago
Seth Vargo
500654714c
Merge pull request #1932 from bhourigan/issue1931
...
ec2-upload-bundle uses deprecated parameter
11 years ago
Seth Vargo
4f22fd25f5
Merge pull request #1875 from ryanuber/f-dofix
...
builder/digitalocean: fix response decoding after api changes
11 years ago
Brian Hourigan
f40fd36c31
Changing --region to --location
11 years ago
Brian Hourigan
8e69403735
Prepending -i to sudo so PATH is inherited from profile.d scripts related to ec2 tooling
11 years ago
Tom Dooner
6e92e60eef
Add Rackconnect support
...
This adds two config options that we need in order to successfully build
our Rackspace images.
First, a boolean `rackconnect_wait` option which waits for the
RackConnect metadata to appear.
Second, an `ssh_interface` option, for rackconnect users who have more
prohibitive firewalls on the 'public' interface and want to ensure all
traffic to the server goes over the 'private' one.
Finishes #952 .
11 years ago
Billie H. Cleek
2184892f8a
do not request a pty
...
Change the default behavior from requesting a PTY when executing a
command with the ssh communicator to requesting a PTY only when
configured to do so.
Update the vmware builders to be fully backward compatible with the new
behavior.
11 years ago
Jen Spinney
40fdb15d03
Support user variables for all OpenStack string config options
11 years ago
Ryan Uber
78d6dda005
builder/digitalocean: fix response decoding after api changes
11 years ago
Danny Lockard
7d1b95c907
Formatting fix :)
11 years ago
Danny Lockard
84d6d856f6
Add the ability to create a SCSI Device as the main HD controller for
...
virtualbox.
11 years ago
Lesko, Matthew (NIH/NLM/NCBI) [C]
43f08b2664
go fmt all the things
11 years ago
Lesko, Matthew (NIH/NLM/NCBI) [C]
62e054c404
simplify output
11 years ago
Sebastian Röder
555b89567f
s/VirtualBox/VMware in comment
11 years ago
Lesko, Matthew (NIH/NLM/NCBI) [C]
9d097f9d4e
Permit Temp keys and named SSH keypairs
...
These changes permit the use of pre-created SSH keypairs with AWS. If
so, the configuration for the builder needs to include an
ssh_keypair_name option and a ssh_private_key_file.
If ssh_private_key_file is *not* defined, it'll go through the
rigamarole of creating a temporary keypair. The ssh_keypair_name option
by itself won't make that change, because it doesn't make sense to
specify a keypair but not tell packer where the private key is, but it
does happen that you could have a private key and the public-key is
"baked in", and not part of your EC2 account.
11 years ago
Lesko, Matthew (NIH/NLM/NCBI) [C]
8c87b1cc00
First attempt for re-using a named EC2 keypair
...
Adds a 'ssh_keypair_name' option to the configuration
for AWS, along with some munging to create the
temporarily keypair if one isn't specific.
NOT YET WORKING.
From a 'make' I get the following errors:
builder/amazon/ebs/builder.go:94: b.config.SSHKeyPairName undefined
(type config has no field or method SSHKeyPairName)
builder/amazon/instance/builder.go:199: b.config.SSHKeyPairName
undefined (type Config has no field or method SSHKeyPairName)
11 years ago
Colin Hebert
42d05368ae
Save the generated SSH key as a file in debug mode
11 years ago
Rickard von Essen
4a0c242c3f
Merge pull request #1760 from rickard-von-essen/issue-1746
...
builder/parallels: Use most recent DHCP lease when determining IP.
11 years ago
Rickard von Essen
d424ed1e37
builder/parallels: Use most recent DHCP lease when determening IP.
...
Fixes #1746 . Problem establishing SSH connection with Fedora 21 and
Parallels
11 years ago
Godefroid Chapelle
f52283d78e
all calls to cp should be escaped
11 years ago
Godefroid Chapelle
ff0772d479
Merge remote-tracking branch 'origin' into patch-1
11 years ago
Ross Smith II
10dee1bd68
Temporarily fix build by forking golang.org/x/oauth2 @ b3f9a68
11 years ago
Ryan Uber
010c77d05f
builder/digitalocean: default to nyc3
11 years ago
Mitchell Hashimoto
2dfc5d3e71
builder/amazon: inject special metadata for atlas artifacts
11 years ago
Eric Johnson
24a774f0d3
Merge pull request #1737 from dcarlino/failfast_gce
...
Check if image already exists before doing anything else on GCE.
11 years ago
Dustin Carlino
fe47f45800
Remove bucket_name from GCE config.
...
Fixes #1732 . Forgot to do this in 23c947acf0 .
11 years ago
Dustin Carlino
7c67228912
Check if image already exists before doing anything else on GCE.
...
This fixes #1729 .
11 years ago
Armon Dadgar
20d040dcba
Merge pull request #1723 from irgeek/fix-1637
...
Use an index loop as range loops over copies, not references
11 years ago
Armon Dadgar
44602df62f
Merge pull request #1675 from cgroschupp/bugfix_vmx_upload
...
Upload VMX to ESX5 after editing
11 years ago
Armon Dadgar
2dace054bf
Merge pull request #1707 from gergnz/master
...
change ordering of ssh connection IP for amazon. fixes #1559
11 years ago
Armon Dadgar
dd5de1e342
Merge pull request #1692 from nitrous-io/digitalocean-image-id
...
Use DigitalOcean image ID for artifact Id()
11 years ago
Armon Dadgar
183d4a8474
Merge pull request #1700 from legal90/iss-1667
...
Parallels: Fixed issue #1667
11 years ago
Godefroid Chapelle
5a892560c3
Merge remote-tracking branch 'origin/master' into patch-1
11 years ago
James Sinclair
02ebef9031
Use an index loop as range loops over copies, not references
...
Fixes #1637
11 years ago
Godefroid Chapelle
955122f2e1
Be more explicit about escaping alias
11 years ago
Godefroid Chapelle
075abfeeae
Escapes cp alias
...
Fix for #1656
11 years ago
Greg Cockburn
dbaf865e59
change ordering of ssh connection IP for amazon. fixes #1559
11 years ago
rhapsodhy
dd547af0c4
fix googlecompute oauth dependency
11 years ago
Mikhail Zholobov
a5b21c59ba
builder/parallels: Move setting the boot order to the separated step
11 years ago
Mikhail Zholobov
05affceaef
builder/parallels: Attach bootable ISO exactly to cdrom0 [GH-1667]
11 years ago
Seth Vargo
1954cc9758
Merge pull request #1628 from israelshirk/hotfix/docker-communicator-symlink
...
Fixes Docker communicator mishandling of symlinks in UploadDir()
11 years ago
Seth Vargo
96c813684e
Merge pull request #1645 from vtolstov/qemu_disk
...
Allow none checksumtype for qemu builder
11 years ago
Seth Vargo
a60039e720
Merge pull request #1650 from vtolstov/digitalocean
...
fix digitalocean v2 api content-type when using json
11 years ago
Seth Vargo
31a1aa48b4
Merge pull request #1662 from vtolstov/disk_image
...
When using disk_image CD-ROM not needed
11 years ago
Dustin Carlino
23c947acf0
Create GCE image from persistent disk instead of from a tarball.
...
The new flow:
1) Provision the instance
2) Tear down the instance, but keep the boot disk
3) Create an image from the disk
4) Tear down the disk
The step to update gcloud is no longer needed, since gceimagebundle isn't used anymore.
Fixes #1507 and addresses https://github.com/mitchellh/packer/issues/1447#issuecomment-61610235 .
11 years ago
pleschev
431647997c
Merge pull request #2 from mitchellh/master
...
Update skip_nat_port to latest master.
11 years ago
Eric Johnson
87001dba60
Merge pull request #1679 from evandbrown/gce-service-accounts
...
Use golang/oauth2, no longer require client_secrets.json, and use
11 years ago
Cheah Chu Yeow
3d6865fafc
builder/digitalocean: use DigitalOcean image ID for artifact Id().
11 years ago
Evan Brown
ff149df30f
Use golang/oauth2, no longer require client_secrets.json, and use
...
Service Account when run from a GCE Instance.
11 years ago
Misha Brukman
74e1be7469
Added the Ubuntu image project for GCE.
...
The documentation:
https://cloud.google.com/compute/docs/operating-systems#ubuntu
shows that `ubuntu-os-cloud` is the proper project name.
11 years ago
Christian Groschupp
e9246ec490
builder/vmware/iso: Upload VMX to ESX5 after editing [GH-1422,GH-1083]
11 years ago
Israel Shirk
d4080244b0
Resolves issue where docker communicator mishandled symlinks by treating them as files
11 years ago
Vasiliy Tolstov
1e87e796dc
fix using private ip address in digitalocean builder
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
11 years ago
Vasiliy Tolstov
2126615b3d
disk_filename is used for artifacts, but it missed in case of disk_image = true
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
11 years ago
Vasiliy Tolstov
16110c6be6
add CD-ROM only if not used disk_image, also boot from it only if CD-ROM present
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
11 years ago
Vasiliy Tolstov
8af85df822
add error code for failed auth
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Vasiliy Tolstov
a5dc41a730
fix digitalocean v2 api content-type when using json
...
In case of using json we need to set content-type header.
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Vasiliy Tolstov
4762075dc3
add missing variable
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Vasiliy Tolstov
5631873727
allow none checksumtype for qemu builder (copy/paste from virtualbox)
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Vasiliy Tolstov
e5ea82f920
fix digitalocean v2 api size response
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Mitchell Hashimoto
06144cf287
fmt
12 years ago
Mitchell Hashimoto
0db6cd3533
Merge pull request #1330 from qur/qemu-vagrant
...
Qemu vagrant
12 years ago
Mitchell Hashimoto
60e2a8b5fc
Merge pull request #1342 from iwebhosting/qemu-image-support
...
Add support for building QEMU images from pre-existing image files
12 years ago
Mitchell Hashimoto
cdc0a53f92
builder/vmware: fix compilation issues
12 years ago
Mitchell Hashimoto
6c44d72112
Merge pull request #1403 from notogawa/issue-1334
...
Fixes #1334 , Add power on retry to ESXi Driver.
12 years ago
Mitchell Hashimoto
e422a45449
fmt
12 years ago
Mitchell Hashimoto
7865026e22
Merge pull request #1463 from vtolstov/digitalocean
...
add digitalocean v2 api support
12 years ago
Mitchell Hashimoto
00543fe582
Merge pull request #1479 from jasonberanek/esxi-remote-cache
...
buidler/vmware-esxi: Add configuration options for the remote location to cache ISO and floppy files
12 years ago
Mitchell Hashimoto
7ad8f33ddb
Merge pull request #1530 from Quintok/master
...
#1191 - Add VMWare virtualhw.version configuration option under 'version'
12 years ago
Mitchell Hashimoto
51daea504e
Merge pull request #1630 from routelastresort/master
...
builder/vmware: accept SATA drives on root VMX
12 years ago
Mitchell Hashimoto
fc5db2604e
builder/vmware: FUSION_APP_PATH to specify path [GH-1552]
12 years ago
Mitchell Hashimoto
716d4719dc
Merge pull request #1622 from delitescere/GH-1533-aws-timeout
...
builder/amazon: Extend timeout and allow user override [GH-1533]
12 years ago
Vasiliy Tolstov
e1e3d3c1e1
fix quote in variable name
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Vasiliy Tolstov
10612b5d89
try to avoid pagination
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Vasiliy Tolstov
8f9e9abca1
Merge branch 'master' into digitalocean
12 years ago
John Deatherage
68fbf5c21a
builder/vmware: accept SATA drives on root VMX
12 years ago
Nick Cronin
1aa102dd06
addresses #1191 - Add VMWare virtualhw.version configuration option under 'version'
12 years ago
Mitchell Hashimoto
4406c20af1
builder/amazon: prefer token in config [GH-1544]
12 years ago
Mitchell Hashimoto
83772fc5b8
Merge pull request #1509 from kamazee/fix_detecting_guest_additions_when_sysprop_empty
...
Fix detecting guest additions URL
12 years ago
Mitchell Hashimoto
c161f9adc5
Merge pull request #1558 from vtolstov/qemu_cache
...
builder/qemu: add ability to set cache mode for disk
12 years ago
Mitchell Hashimoto
145056185c
builder/vmware: accept SATA drives on root VMX
12 years ago
Mitchell Hashimoto
ef0a3f1952
Merge pull request #1604 from chilcote/add-sata-to-vmx-builder
...
updated step_clone_vmx.go to work with vmx files using sata
12 years ago
Mitchell Hashimoto
2575b09dc8
Merge pull request #1570 from kouk/master
...
figure out VirtualBox version on FreeBSD
12 years ago
Mitchell Hashimoto
607f7214b5
builder/docker: allow DOCKER_HOST
12 years ago
Mitchell Hashimoto
4bc578a029
Merge pull request #1605 from legal90/parallels-disable-cdrom
...
builder/parallels: Default cdrom0 should be disconnected
12 years ago
Mitchell Hashimoto
b06cceec25
builder/openstack: lock to fork for now to compile [GH-1625]
12 years ago
Josh Graham
5a2c4fe8a0
builder/amazon: Extend timeout and allow user override [GH-1533]
...
- help resolve https://github.com/mitchellh/packer/issues/1533
(although timeouts are always ultimately useless in a distributed
system!)
- makes packer no more idempotent or janitorial than before
- derive maximum number of ticks from timeout
- default timeout to 300s (5m) to cater for global AMI copying
- allow user to override with AWS_TIMEOUT_SECONDS environment variable
12 years ago
Mikhail Zholobov
6e778e7244
builder/parallels: Default cdrom0 should be disconnected
...
Otherwise, the error message will be displayed in GUI:
"Unable to connect CD/DVD 0"
12 years ago
Joseph Chilcote
d46187da4b
updated step_clone_vmx.go to work with vmx files using sata
12 years ago
Mitchell Hashimoto
d89fd906a4
Merge pull request #1504 from sneal/always-remove-vmx-floppy-entries
...
Clean VMX step should always remove floppy.
12 years ago
Mitchell Hashimoto
14fae4c5a3
Merge pull request #1561 from kholloway/master
...
builder/qemu: Updates to QEMU builder - Fix -redir and machine type issues
12 years ago
Mitchell Hashimoto
010cdb2057
amazon/common: style
12 years ago
Mitchell Hashimoto
ce22c4eda6
Merge pull request #1579 from mpage/handle-transient-aws-errors
...
providers/aws: Ignore transient network errors when fetching AWS state.
12 years ago
Matt Page
6fb2586fb2
fix: Ignore transient network errors when fetching AWS state.
...
Given that state fetching is an idempotent operation, a transient
network error should not cause the entire build to fail. Instead,
retry when such errors are encountered.
12 years ago
Konstantinos Koukopoulos
a8b8658245
figure out VirtualBox version on FreeBSD
12 years ago
Matt Page
0fe61fa1e0
fix: Respect metadata supplied for GCE builders.
...
Previously, any per instance metadata supplied via the GCE builder
was ignored.
Test plan:
- make test
- Manual testing via:
-- Created a packer config that contained a GCE builder with custom
metadata set.
-- Ran `packer build`.
-- Verified the instance had the correct metadata in the GCE console.
12 years ago
Kent Holloway
a3e4554a15
Merge remote-tracking branch 'upstream/master'
12 years ago
Kent Holloway
9e2d0af5ab
Reverting previous change, including M on memory line to be explicit about what we are requesting
12 years ago
Vasiliy Tolstov
8efc8ec984
add ability to set cache mode for disk
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Rickard von Essen
d75d44ad9e
Merge pull request #1548 from legal90/create_disk
...
builder/parallels: Create VM without hdd and then add it later
12 years ago
Mikhail Zholobov
eb37742ab0
builder/parallels: Disable default cdrom0 device and then enable it on cleanup
...
This is needed to make 'cdrom0' device unavailable during the ISO installation process.
It is required for some guest OS types, such as FreeBSD and OmniOS.
12 years ago
Mikhail Zholobov
13251ced49
builder/parallels: Added setting the boot order
...
CD/DVD drive with installation ISO should be exactly the 2nd device in the VM boot order.
This ensures that VM will boot from this ISO at the first boot time only.
12 years ago
Mikhail Zholobov
280c3c52de
builder/parallels: Attach ISO images to the separate cdrom device
...
For each ISO image the individual cdrom device will be added to the VM. During the cleanup these devices will be deleted.
It makes attach steps more clear - there is no doubt what is the name of the device.
Related to: [mitchellh/packer#1502 ]
12 years ago
Mikhail Zholobov
0cfe58193f
builder/parallels: Added driver method 'DeviceAddCdRom'
12 years ago
JessThrysoee
5394ce61fd
builder/parallels: Rely on Cleanup functions to detach devices
...
Remove the redundant StepRemoveDevices and rely on the cleanup to be handled by:
* StepAttachParallelsTools.Cleanup
* StepAttachFloppy.Cleanup
* stepAttachISO.Cleanup
12 years ago
Rickard von Essen
57ad64da30
Merge pull request #1501 from JessThrysoee/current_fdd0_does_not_exist
...
builder/parallels: Ignore 'The fdd0 device does not exist'
12 years ago
Kent Holloway
6b5a505384
-redir is deprecated and missing on some versions of QEMU, using -netdev instead which is recommended. Removing M letter from Memory flag as QEMU now assumes this value is always in MB and errors out if you pass the M as a part of the command
12 years ago
Kent Holloway
2755ba1751
Changing machinetype default to PC instead of PC-1.0 which seems to be a saner default that works on more platforms. RedHat in particular doesnt have PC-1.0
12 years ago
Kent Holloway
2cf7e694bc
Fix for panic when ssh min and max port is the same for qemu builder. Taken directly from a previous patch by mitchellh 8f50d2dd9a
12 years ago
Vasiliy Tolstov
e614a8c3d5
remove debug output
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Vasiliy Tolstov
f4c756a2cb
fix copy/paste error
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Mikhail Zholobov
48c64b05cb
builder/parallels: Init VM without hdd and attach it later
...
Avoid the disk resize because it is unsupported for some guests (OS X)
http://kb.parallels.com/en/113653
12 years ago
Shawn Neal
5fd9651982
GH 1508 - Ensure Packer VMX is updated and saved
...
We need to ensure the VMWare process has exited before attempting to run VMX file cleanup steps, otherwise VMWare may overwrite our changes. While Packer does its best to ensure VMWare has exited, there's still a race condition on some OSs between VMWare flushing the VMX and Packer updating it. The workaround is to artifically wait 5 seconds.
When using the VMX builder its possible for the source machine to have a floppy and/or CD-ROM mounted which gets cloned to the new VM Packer spins up, but have no Packer configuration for those devices. With this change we always attempt to remove the mounted devices regardless of the Packer configuration.
12 years ago
Julian Phillips
60e608dfdb
Add support for vagrant with qemu
...
Once we have produced a qemu VM, we now have the option of using
the vagrant post-processor to create a .box file that can be used with
the vagrant-libvirt plugin.
This uses the new State method of the Artifact API to get necessary
information from the builder.
12 years ago
Julian Phillips
90a57c411f
Expand Artifact API to expose build state
...
In order that something consuming an artifact can have access to extra
builder specific data add the State method which allows the caller to
ask for arbitary values by name.
12 years ago
JessThrysoee
16b82d6d15
builder/parallels: Bundle python version of prltype
...
Uses the Python API from Parallels Virtualization SDK to write
boot commands.
This eliminates a 3rd party requirement and makes it easier for people
not using homebrew to get started with packer.
12 years ago
JessThrysoee
cf6532ffe2
builder/parallels: Ignore 'The fdd0 device does not exist'
...
A current floppy disk probably doesn't exist, so the build shouldn't
fail when we try to delete it.
12 years ago
Alexander Kurilo
3592d67093
Fix detecting guest additions URL
...
When system property exists with empty value, packer treats that
empty value as a URL. The issue has been spotted on Arch
with Virtualbox 4.3.16.
12 years ago
Jason A. Beranek
8689301d68
builder/vmware-esxi: Ignore localhost for VNC lookup [GH-1480]
...
Adds logic to ESXi driver VNC Address function to ignore listen
addresses that bind to localhost (127.0.0.1), this allows certain
default ports to be available on ESXi for VNC connections
12 years ago
Shawn Neal
7d9c252b3a
Clean VMX step should always remove floppy.
...
When using the VMX builder its possible for the source machine to have a floppy configured which gets cloned to the new VM Packer spins up. When the new VM's Packer config doesn't have a floppy_files config entry, the Packer clean VMX step fails to remove the floppy disk from the new VM. This can cause build failures, for example with the vsphere post processor; generating errors like:
* Post-processor failed: Failed: exit status 1
Error: File (/home/teamcity/tmp/buildTmp/packer941120499) could not be found.
Opening the cloned VM's VMX file you can clearly see it has a floppy entry from the source machine's VMX file (exact same path) even though the Packer config contains no floppy_files entry.
12 years ago
John Deatherage
e571a133b0
fixed vmware-vmx step order
12 years ago
Ross Smith II
a7aa20c8c7
Add support for VMware Fusion 7 Pro [GH-1478]
12 years ago
Jason A. Beranek
b6eb3eba1d
builder/vmware-esxi: Add configuration options for remote cache path
...
Add configuration option to explicitly control where Packer uploads
ISO and floppy files to on ESXi hosts. The `remote_cache_datastore`
defaults to the `remote_datastore` value. The 'remote_cache_directory'
defaults to 'packer_cache', similar to the local caching capabilities.
Addresses issues with [GH-1218] and [GH-1221] where paths for uploaded
ISO and floppy files are not written to a valid location in the
datastore.
12 years ago
Mitchell Hashimoto
75395af12d
Merge branch '1064-fix-upload-file-permissions' of github.com:rasa/packer into rasa-1064-fix-upload-file-permissions
...
Conflicts:
builder/parallels/common/step_upload_parallels_tools.go
builder/vmware/common/step_upload_tools.go
provisioner/chef-client/provisioner.go
provisioner/chef-solo/provisioner.go
12 years ago
Mitchell Hashimoto
812ba35479
fmt
12 years ago
Mitchell Hashimoto
dc0de7da49
builder/amazon-ebs: don't clean up AMI if doesn't exist [GH-1469]
12 years ago
Rickard von Essen
365b44c5af
parallels-iso: allow absolute output directory.
...
Fixes [GH-1466]
12 years ago
Mitchell Hashimoto
db90c16118
builder/amazon: support auto spot price discovery [GH-1465]
12 years ago
Mitchell Hashimoto
a587bd47a1
builder/amazon/ebs: clean up AMI in error [GH-1186]
12 years ago
Mitchell Hashimoto
669f26a108
Merge pull request #1186 from henrysher/ami-cleanup
...
Add the cleanup when the process of EBS AMI interrupted
12 years ago
Mitchell Hashimoto
7d1db44ca4
builder/amazon: clean up UI output for spot instances a bit
12 years ago
Mitchell Hashimoto
2e5f3da5c1
builder/amazon: fix {{uuid}} default not being replaced
12 years ago
Mitchell Hashimoto
3a69b8c1b8
Merge branch 'add-spot-instance-support' of github.com:henrysher/packer into henrysher-add-spot-instance-support
...
Conflicts:
builder/amazon/common/run_config.go
builder/amazon/ebs/builder.go
builder/amazon/instance/builder.go
12 years ago
Mitchell Hashimoto
c9cc82d89e
builder/amazon-chroot: add description with time created snapshot
...
[GH-1388]
12 years ago
Mitchell Hashimoto
e4dc5d31d8
builder/docker: support volumes
12 years ago
Mitchell Hashimoto
2e4882f0c3
builder/docker: can login to pull
12 years ago
Mitchell Hashimoto
622b9f459a
builder/docker: lock around Login
12 years ago
Mitchell Hashimoto
d32b4b4f84
builder/docker: driver supports login/logout
12 years ago
Mitchell Hashimoto
5db91c84bf
builder/amazon: string fields on device mappings can use variables
12 years ago
Mitchell Hashimoto
1a45b96674
builder/vmware: add VNC to vmx
12 years ago
Mitchell Hashimoto
b72605c2f6
builder/vmware: style
12 years ago
Mitchell Hashimoto
759c46487c
builder/vmware-vmx: support http files
12 years ago
Mitchell Hashimoto
bfdc6ea6b7
builder/virtualbox: support http server for ovf [GH-1169]
12 years ago
Mitchell Hashimoto
c74f0c7cfe
Merge branch '1082-add-boot-commands-to-vmx-and-ovf-builders' of github.com:rasa/packer into rasa-1082-add-boot-commands-to-vmx-and-ovf-builders
...
Conflicts:
builder/virtualbox/ovf/config.go
builder/vmware/vmx/config.go
12 years ago
Mitchell Hashimoto
71d0c39ef9
builder/vmware: better error if clone not supported [GH-787]
12 years ago
Mitchell Hashimoto
ac58773eed
builder/vmware: better error output from vmrun
12 years ago
Mitchell Hashimoto
f32d9879dc
builder/docker: error if DOCKER_HOST is set
12 years ago
Mitchell Hashimoto
caca50324e
Merge pull request #1426 from jasonberanek/vnc-fixes
...
vmware-iso/esxi: fix multiple issues with VNC address discovery
12 years ago
Mitchell Hashimoto
cf731bf65c
builder/vmware: no error if stopping already stopped [GH-1300]
12 years ago
Mitchell Hashimoto
b9f82ef17e
fmt
12 years ago
Mitchell Hashimoto
9b2039121f
builder/virtualbox-ovf: import_flags [GH-1383]
12 years ago
Mitchell Hashimoto
863e06a614
builder/virtualbox: comment
12 years ago
Mitchell Hashimoto
f54f09d7a3
builder/virtualbox: detect vboxmanage errors with zero code [GH-1119]
12 years ago
Mitchell Hashimoto
b5c0c63ebc
builder/googlecompute: use new auth scheme
12 years ago
Mitchell Hashimoto
ed377c9ff0
builder/amazon-instance: --no-filter by default [GH-1137]
12 years ago
Mitchell Hashimoto
ba07866774
Merge pull request #1461 from rickard-von-essen/issue_1404
...
parallels-pvm: Optionally assign new MAC addresses to imported VMs
12 years ago
Vasiliy Tolstov
6c6f3c24a5
add v2 api support
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Rickard von Essen
5ad7737d55
parallels-pvm: Optionally assign new MAC addresses to imported VMs [GH-1404]
...
New config option:
reassign_mac (boolean) - If this is "false" the MAC address of the first
NIC will reused when imported else a new MAC address will be generated by
Parallels. Defaults to "false".
12 years ago
Mitchell Hashimoto
0776d9de34
builder/amazon: ssh_private_ip [GH-1229]
12 years ago
Mitchell Hashimoto
bac54a6645
builder/amazon/common: token [GH-1236]
12 years ago
Mitchell Hashimoto
69cd01bbe2
builder/amazon/common: wait for instance ready before tagging [GH-1367]
12 years ago
Mitchell Hashimoto
77bd024079
builder/*: fix flaky tests, get tests passing
12 years ago
Mitchell Hashimoto
5cb7355814
builder/docker: change commit to the opt-in, special case build steps
...
/cc @andytson - Wanted to CC you in here so you could see some changes I
made.
First, I changed commit to opt-in, so you set "commit": true to get
commit behavior. This simplifies the logic a bit. Then, I removed the
skipping for StepExport and StepCommit and put that into the Builder
itself. This simplifies those steps (limits abstraction leakage).
Otherwise, everything looks great!
12 years ago
Mitchell Hashimoto
cb2c405d88
Merge branch 'feature/docker-image' of github.com:andytson/packer into andytson-feature/docker-image
...
Conflicts:
config.go
12 years ago
Mitchell Hashimoto
b267c3eb4a
builder/docker: wait for tail to end when running remote command
12 years ago
Mitchell Hashimoto
c139aa3b71
builder/docker: style
12 years ago
Mitchell Hashimoto
74a4f27a16
buidler/docker: remove container [GH-1206] [GH-1095]
12 years ago
Mitchell Hashimoto
67afff5ede
fmt
12 years ago
Mitchell Hashimoto
dc74c2bbdd
builder/amazon: tests
12 years ago
Mitchell Hashimoto
c0f9dbde41
builder/virtualbox: search VBOX_MSI_INSTALL_PATH [GH-1337]
12 years ago
Mitchell Hashimoto
749baa19c4
builder/virtualbox/iso: append timestamp to name [GH-1365]
12 years ago
Mitchell Hashimoto
28de122579
builder/virtualbox: fix typo
12 years ago
Mitchell Hashimoto
94f385ecf9
builder/virtualbox: error if guest additions URL can't be read [GH-1439]
12 years ago
Mitchell Hashimoto
76a8221636
builder/*: extract key path to ssh.Signer
12 years ago
Mitchell Hashimoto
6bbf64c5ab
builder/qemu: use 512M for -m [GH-1444]
12 years ago
Mitchell Hashimoto
90d4bcdbe8
builder/digitalocean: region supports vars [GH-1452]
12 years ago
Mitchell Hashimoto
953fd27a27
Merge pull request #1167 from rasa/1057-add-floppy-files-to-vmware-vmx-v2
...
builder/vmware-vmx: add floppy_files support
12 years ago
Mitchell Hashimoto
8d88aaf150
Merge pull request #1168 from rasa/972-add-clone-support-for-vmware-player-6-v2
...
builder/vmware: add VMWare Player 6 support
12 years ago
Mitchell Hashimoto
c185fa42f3
Merge pull request #1200 from zigg/feature/virtualbox-iso-sata
...
builder/virtualbox: implement `iso_interface` setting
12 years ago
Mitchell Hashimoto
2a9cb50b17
builder/amazon: fix broken build
12 years ago
Mitchell Hashimoto
ba3bae8a65
Merge pull request #1239 from StefanScherer/fix_skip_floppy_in_vmx_data_post_step
...
builde/vmware: skip adding floppy again in vmx_data_post step
12 years ago
Mitchell Hashimoto
825864a9ea
Merge branch 'additional-user-variables' of github.com:nBerg/packer into nBerg-additional-user-variables
...
Conflicts:
builder/amazon/common/run_config.go
12 years ago
Mitchell Hashimoto
752162c234
fmt
12 years ago
Mitchell Hashimoto
5d1c1e6716
Merge pull request #1373 from anthonybishopric/debug_bundle_commands
...
builder/amazon-instance: Debug the evaluated bundle commands
12 years ago
Mitchell Hashimoto
e8889e56ed
Merge pull request #1381 from pas256/chroot-hvm
...
builder/amazonchroot: can build both PV and HVM images
12 years ago
Mitchell Hashimoto
dac078b451
Merge pull request #1360 from jmassara/ee_fix
...
builder/amazon-chroot: Fix bug with getting ec2 connection instead of source image
12 years ago
Mitchell Hashimoto
4ef3874467
builder/virtualbox-*: seed RNG [GH-1386]
12 years ago
Mitchell Hashimoto
78c534227a
Merge branch 'master_add_support_for_tcg_accel_in_qemu_builder_' of github.com:mattthias/packer into mattthias-master_add_support_for_tcg_accel_in_qemu_builder_
...
Conflicts:
builder/qemu/builder.go
website/source/docs/builders/qemu.html.markdown
12 years ago
Mitchell Hashimoto
88c186df39
Merge branch 'master' of github.com:matthbak/packer into matthbak-master
...
Conflicts:
builder/qemu/step_run.go
12 years ago
Mitchell Hashimoto
3827c02126
Merge pull request #1396 from ianunruh/feature/vmware-ssh-host-template
...
builder/vmware: Add templating to VMware SSH host option
12 years ago
Mikhail Zholobov
16cb6f60c8
builder/parallels: "guest_os_distribution" renamed to "guest_os_type".
...
"guest_os_distribution" become deprecated and is not required anymore.
But if it is defined (in outdated templates),then the value will be copied to "guest_os_type" and warning will be displayed.
12 years ago
Mikhail Zholobov
bed6270288
builder/parallels: Detect path to Parallels Tools ISO automatically.
...
'parallels_tools_host_path' param is deprecated
'parallels_tools_flavor' is added (mandatory).
12 years ago
Mikhail Zholobov
40c169f757
builder/parallels: Added 'StepPrepareParallelsTools'
12 years ago
Mikhail Zholobov
13b355eaf0
builder/parallels: Added 'ToolsConfig' struct
12 years ago
Mikhail Zholobov
909d5ccb54
builder/parallels: 'ToolsIsoPath' added
12 years ago
Mitchell Hashimoto
668bd51fa2
Merge pull request #1410 from msabramo/openstack_builder_blank_keypair_is_error
...
builder/openstack: error out when gets blank keypair
12 years ago
Mitchell Hashimoto
18a4a4d5ea
Merge pull request #1407 from hiroyuki-sato/patch_for_packer
...
builder/qemu: add machine_type option for qemu builder.
12 years ago
Mitchell Hashimoto
1c58f8f210
Merge pull request #1418 from msabramo/openstack_builder_region_not_mandatory
...
builder/openstack: Make region not required if not rackspace
12 years ago
Mitchell Hashimoto
704648896e
Merge pull request #1425 from dysinger/1424-amazon-instance-s3-region-not-url
...
builder/amazon-instance: Use Region not S3Endpoint (see Issue 1424)
12 years ago
Mitchell Hashimoto
5c09afe22c
Merge pull request #1448 from vtolstov/simple
...
builder/digitalocean: add ability to set api url in template
12 years ago
Ulf Mansson
bebca3bfae
It's not necessary to use an instance-store image to build an instance-store image, see this example http://sorcery.smugmug.com/2014/01/29/instance-store-hvm-amis-for-amazon-ec2/ so there should be no restriction on the ExpectedRootDevice
12 years ago
Vasiliy Tolstov
e18f0f7f5b
fix missing parts
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Vasiliy Tolstov
4166c63732
add ability to set api url in template
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
12 years ago
Rickard von Essen
f9cddd2e18
builder/parallels: Added some navigation keys. Fixes [GH-1442]
12 years ago
Mikhail Zholobov
fc2d695b0f
builder/parallels: Added compatibility with Parallels Desktop 10
12 years ago
Mikhail Zholobov
10be7e27de
builder/parallels: Added platform check
12 years ago
Mikhail Zholobov
9ad2b98673
builder/parallels: Removed config parameter 'ostype'
...
We have to set either 'ostype' or 'distribution', but not both.
12 years ago
Rickard von Essen
732c767bfd
parallels: Support for Parallels Desktop 10
12 years ago
Fabio Rapposelli
d2a9a98eeb
Fixed multiple VMware typos.
12 years ago
Jason A. Beranek
ebdfa2bc56
vmware-iso/driver-esxi: Fix VNC detection of used ports
...
Fixes error in earlier commit that didn't properly detect a port
was listened to.
12 years ago
Matt Page
8f237b7b94
Allow specifying project for source images in GCE
...
Within GCE, images may be shared across projects. Prior to this
commit, there was no way to inform the GCE builder that a source
image belonged to a specific project. This adds an optional
'source_image_project_id' key to the GCE builder config.
12 years ago
Jason A. Beranek
93e4475d6a
vmware-iso/driver-esxi: Detect VNC in cross-platform way [GH-1372]
...
Use VMware calls to determine ports being listened to, and determine
free VNC port
12 years ago
Jason A. Beranek
2c41d59e21
vmware-iso: Update VNCAddressFinder interface to return errors from VNCAddress()
12 years ago
Jason A. Beranek
6acbc91ff7
vmware-iso: Fix error vnc min/max ports [GH-1288]
12 years ago
Tim Dysinger
c79121617c
Use Region not S3Endpoint
12 years ago
Marc Abramowitz
9bd33d1e0b
Make region required for rackspace but not other providers
...
Update test to make it pass.
12 years ago
Marc Abramowitz
69500b6943
OpenStack builder: Make region not required
...
Perhaps "region" is required when using a public provider like
Rackspace? It's not required for my private cloud from Metacloud. I
suspect a lot of private clouds have only a single region and thus don't
need "region" to be specified.
12 years ago
Marc Abramowitz
031c25154f
openstack builder error out when gets blank keypair
12 years ago
Hiroyuki Sato
965d273907
Add machine_type option for qemu builder.
...
On CentOS7, ``pc-1.0'' qemu-kvm machine type are not supported.
Supported machines are:
none empty machine
pc RHEL 7.0.0 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-rhel7.0.0)
pc-i440fx-rhel7.0.0 RHEL 7.0.0 PC (i440FX + PIIX, 1996) (default)
rhel6.5.0 RHEL 6.5.0 PC
rhel6.4.0 RHEL 6.4.0 PC
rhel6.3.0 RHEL 6.3.0 PC
rhel6.2.0 RHEL 6.2.0 PC
rhel6.1.0 RHEL 6.1.0 PC
rhel6.0.0 RHEL 6.0.0 PC
q35 RHEL-7.0.0 PC (Q35 + ICH9, 2009) (alias of pc-q35-rhel7.0.0)
pc-q35-rhel7.0.0 RHEL-7.0.0 PC (Q35 + ICH9, 2009)
12 years ago
notogawa
eacae832ad
Fixes #1334 , Add power on retry to ESXi Driver.
12 years ago
Eric Johnson
a5bc5beccb
Merge pull request #1397 from jfrazelle/disk_size
...
add disk size to google compute
12 years ago
Jessica Frazelle
8bc696ce9e
add disk size to google compute, so as to avoid disk size errors on exporting the image
12 years ago
Rickard von Essen
fe37d9b6e1
parallels-iso: ISO not removed from VM after install [GH-1338]
...
Also remove floppy and prl-tools ISO if applicable.
12 years ago
Ian Unruh
100200e1ae
Add templating to VMware SSH host option
12 years ago
Matthew Baker
b8c13d3e4d
Keeping the -machine type=pc if accelerator method set to "none"
12 years ago
Matthew Baker
99d15abfd2
adding allowed values for accelerator
12 years ago
Matthew Baker
5814b9d3c7
Merge branch 'oracle'
12 years ago
Matthew Baker
9220d644d1
Making graphics and hardware virtualisation optional and configurable
12 years ago
Matthias Schmitz
65f71daf73
Allow 'tcg' as accelerator in builder-qemu
...
* Using 'tcg' as accelerator for qemu-system allows packer to run in a
virtual machine as no kvm or xen support is needed.
* Also document the default behavior if no accelerator is given in the
documentation.
12 years ago
Peter Sankauskas
ab9f0bc3c8
Removing my debugging output
12 years ago
Peter Sankauskas
a2c0b104f0
Adding the conditional necessary to construct the right options for both PV and HVM images. Also adding a test to make sure it is doing the right thing
12 years ago
Peter Sankauskas
460e2da248
The mount command for a PV image that is attached to /dev/sdf is:
...
mount /dev/xvdf /mnt/point
while for an HVM image that is attached to /dev/sdf, its mount command is
mount /dev/xvdf1 /mnt/point
so this code enabled that
12 years ago
Peter Sankauskas
6b751cac39
Formatting
12 years ago
Peter Sankauskas
a59ee93bca
To be able to build both PV and HVM images, it is not possible to use both /dev/sd[f-p] and [1-16] as the HVM images get attached at /dev/sdf but must be mounted a /dev/sdf1.
...
This reduces the number of simultaneous packer runs possible significantly, but unless you are Netflix, who have Aminator anyway, this is probably never going to be an issue
12 years ago
Matthew Baker
c87c88fce2
OEL available net device
12 years ago
Matthew Baker
0d07960f3e
Disabling SDL gui mode
12 years ago
Misha Brukman
4a85aefe0f
Rename "Gsutil" to "Gcloud" now that we're updating "gcloud" and not "gsutil".
...
Also renamed files accordingly.
12 years ago
Eric Johnson
7f38936596
Merge pull request #1350 from mbrukman/googlecompute-driver-vm-images
...
builder/googlecompute: added support for all standard VM images
12 years ago
Eric Johnson
ca53d7e4c0
Merge pull request #1292 from maestrodev/gcloud
...
[GCE] google compute builder is broken, gsutil update fails in newer images
12 years ago
Misha Brukman
5b56970b09
Added CoreOS, OpenSUSE, and Windows projects for searching images.
12 years ago
abishopric
d62edd6c05
Print the evaluated bundle commands
12 years ago
Henry Huang
97eb744c87
De-register the unavailable image in the cleanup
12 years ago
Ross Smith II
2c8ea2b6d2
Merge pull request #1361 from sneal/do-not-add-floppy-files-to-vmx
...
Do not re-add floppy disk files to VMX
12 years ago
Shawn Neal
05ebc8f316
Do not re-add floppy disk files to VMX
...
This commit fixes errors like this in the vsphere post-processor when using floppy files in the builder step:
Error: File (/var/folders/zl/57c1vmr532z_ryf1scw53_b9ycmxh7/T/packer964492999) could not be found
The configure VMX step re-adds the floppy files, so we need to configure the VMX and _then_ clean the VMX in that order.
12 years ago
James Massara
ca84e2ac55
Fix bug with getting ec2 connection instead of source image
12 years ago
Andy Thompson
4a98ab377a
Add Stderr capture to Commit and TagImage calls.
12 years ago
Andy Thompson
ed446782f9
Add a docker save post processor
12 years ago
Andy Thompson
bf16683140
Add a docker tag post processor
12 years ago
Andy Thompson
1baa63f060
Add a docker commit step to the docker builder that runs instead of export if export_path not present
12 years ago
Mitchell Hashimoto
7439baf75e
Merge pull request #1343 from fnoeding/templating
...
Added support to use templates for more fields in null-builder and amazon-builder
12 years ago
Mitchell Hashimoto
8250755a23
Merge pull request #1228 from jmassara/enhanced_networking
...
builder/amazon: support for enhanced networking
12 years ago
Mitchell Hashimoto
67bad68c9f
Merge pull request #1250 from higebu/check-upload-iso-hash
...
builder/vmware/esxi: checksum iso upload to not always upload
12 years ago
Misha Brukman
01130da729
builder/googlecompute: added support for all standard VM images
...
Also fixed the error message to be clear that the image was not found in any of
the projects that we attempted to search, rather than keep the error message
from the last project, which may be confusing to users.
12 years ago
Florian Noeding
de29431a43
null-builder: added support for templating
12 years ago
Florian Noeding
e932ec6978
amazon builders now handle templating of user_data and user_data_file
12 years ago
iweb
d7268a11f7
Add support for building QEMU images from pre-existing image files
...
If the `disk_image` parameter is set to true treat the ISO location
as the source of the disk image, copy it to the destination,
resize and boot it.
12 years ago
Hiroaki Nakamura
7549735bd3
Accept VirtualBox release candidate version (ex. 4.3.14_RC1 from 4.3.14_RC1r94870)
12 years ago
Nina Berg
bd1a0d07fb
Added some variables to amazon-ebs builder and chef-client provisioner
12 years ago
Ross Smith II
418ed0cb3f
Merge pull request #1316 from yuuzi41/fix-esx5-path-separator
...
fix invalid esx5 path separator in windows
12 years ago
yuuzi41
982e523ba2
fix invalid esx5 path separator in windows
...
before, this code had joining path elements by filepath module. filepath module generate path string with backslash-joined in Windows. but ESX require path string with slash-joined. it means that this code generate illegal path string in windows. illegal path string raised "Error creating disk".
this patch fixes path separator from backslash to slash in windows. from this, creating disk would succeed without error.
12 years ago
Ian Delahorne
0da4aa6f24
Replace ListServers hack with update ServerById
...
[gophercloud#168](https://github.com/rackspace/gophercloud/issues/168 ) has been
patched to not panic on non-existing server id's. If an error is returned,
check if the error is a 404 first before bailing.
12 years ago
Ross Smith II
be606418e6
Merge pull request #1304 from lflux/fix-openstack-serverid-crash
...
Fix openstack ServerById crash
12 years ago
Ian Delahorne
2d1e1cc83e
Sort AMI names in Artifact.String - fixes random test failures
...
With go tip, the output from Artifact.String will sometimes be output in a
different order than the tests. Sort the AMI strings before outputting.
See https://travis-ci.org/mitchellh/packer/jobs/28748467 for an example of this
failure.
12 years ago
Ian Delahorne
3af14d3dc7
Fix typo
12 years ago
Ian Delahorne
946843982f
Workaround for gophercloud.ServerById crashing, fixes #1257
...
gophercloud.ServerById is broken in v0.1.0 - it will crash if you feed it a
non-existing server ID (see [rackspace/gophercloud #168 ](https://github.com/rackspace/gophercloud/issues/168 ))
Instead, list all servers and iterate over them. If the server id isn't found,
return "DELETED" as a state. Not perfect but it works until next version of
gophercloud is released.
12 years ago
Carlos Sanchez
80fa018a36
[GCE] gsutil update fails in newer images, use gcloud
...
googlecompute: It looks like you are trying to run "/usr/local/bin/../share/google/google-cloud-sdk/bin/bootstrapping/gsutil.py update".
googlecompute: The "update" command is no longer needed with the Cloud SDK.
googlecompute: To update, run: gcloud components update
12 years ago
Yuya Kusakabe
2b8ebe65e4
Resolves #1256 , add warning mesasge to VMware ESXi driver
12 years ago
Rickard von Essen
25d2a74f49
Merge pull request #1187 from rickard-von-essen/fix_typing
...
builder/parallels: Fixed problems with character when typing boot command
12 years ago
Rickard von Essen
a5d39cebc7
Merge pull request #1173 from rickard-von-essen/pvm_bootcommand
...
[feature] Support boot command for pvm builder
12 years ago
Rickard von Essen
3f3deab162
Merge pull request #1279 from rickard-von-essen/issue_1226
...
Parallels-iso errors while removing floppy drive GH-1226
12 years ago
Rickard von Essen
d6ddb5f6ff
Merge pull request #1278 from rickard-von-essen/issue_1225
...
Parallels errors while creating floppy disk GH-1225
12 years ago
StefanScherer
9dc06b608e
increase VMware cleanup timeout to 120 seconds
12 years ago
Ross Smith II
a0caa635fa
Merge pull request #1261 from lflux/openstack-networks-support
...
Add ability to configure networks for openstack
12 years ago
Ian Delahorne
c00696992a
Add ability to configure networks for openstack
...
Add configuration option `networks`, a list of network UUIDs, to attach to the
source instance.
In some openstack installs, no default network will be attached or the network
with the ability to attach a public floating IP will need to be specified.
12 years ago
Ian Delahorne
8bf935beb8
Force IPv4 addresses from address pools in Openstack. Fixes #1258
...
Rackspace defaults to a public IPv4 and IPv6 address. These are returned in
random order, with the sprintf further on generating an incorrect connection
string if on IPv6. Force IPv4 until support for correct connection strings and
a configuration flag for logging in over IPv6 is added.
12 years ago
Yuya Kusakabe
6ff38c86ea
Fixes #1244 , Add a check for upload iso hash to ESXi Driver
12 years ago
StefanScherer
de5c38e6c5
skip adding floppy again in vmx_data_post step
12 years ago
Mohammed Naser
110c168a68
Update run_config.go
12 years ago
Rickard von Essen
905f242582
Parallels-iso errors while removing floppy drive GH-1226
...
Status "stopping" should be handled in IsRunning
12 years ago
Paul Palmer
5a8f56b6ad
Parallels errors while creating floppy disk GH-1225
...
Patch applied with modifications - tests updated to pass.
12 years ago
James Massara
be27ecc64b
Add option to enable enhanced networking (SriovNetSupport) for images.
12 years ago
Brandon Turner
b2258dc4e9
Fix chroot builder to work with chef-solo
...
According to be5adb92b5 , the UploadDir
method supports two ways of copying depending on whether a trailing
slash is used:
src = "dir" -> dest/dir
src = "dir/" -> dest
On BSD-based systems (such as OSX, FreeBSD, etc.) the `cp -R` command
handles these two cases automatically. However, Linux treats "src/" and
"src" the same.
To support the trailing slash syntax portably, we can use:
src = "dir" -> dest/dir
src = "dir/." -> dest
This works on BSD and Linux. It is better than using wildcards as it
grabs hidden files as well.
This fixes #1196 that prevents the chef-solo provisioner from working
with the chroot builder.
12 years ago
Henry Huang
da29d684a8
Enable the spot_price in "amazon-instance-store" AMI
12 years ago
Henry Huang
3980c7dcfd
Save the spot request before waiting for its active state
12 years ago
Henry Huang
1e1fa3de26
Add the cleanup for existing spot request
12 years ago
Henry Huang
5d410bddc9
When unexpected state found in waiting, notify the caller func with a correct error message
12 years ago
Henry Huang
3a74c469e5
Add "spot_price" param into template processing
12 years ago
Henry Huang
a411405628
Clean up code via "go fmt"
12 years ago
Henry Huang
c33e7cc867
Add the support of launching spot instances in "amazon-ebs" AMI
12 years ago
Matt Behrens
9eb32e5dcd
implement `iso_interface` setting
...
Adds a new configuration option, `iso_interface`, that can be set to
`sata` to mount the ISO on the SATA controller. Required for OS X.
12 years ago
Greg Burek
3a45712780
Adds support for encrypted EBS volumes
12 years ago
Henry Huang
43385a58bc
Refine the comments
12 years ago
Rickard von Essen
29344a5631
Parallels builder mistypes boot command on OmniOS
...
Fixes [GH-1185] and adds tests for the boot command.
Also requires the latest prl-utils (e592a15) to fix the stuck on enter
while typing.
12 years ago
Rickard von Essen
4d994deb3a
[feature] Support boot command for pvm builder
...
Similar to [GH-1082] but for parallels-pvm builder.
12 years ago
Henry Huang
e8c09ae223
Add the cleanup when the process of EBS AMI interrupted
12 years ago
Pierre Riteau
5294e0ed61
Remove unused file
12 years ago
Ross Smith II
e93697ab4e
builder/virtualbox-ovf,vmware-vmx: add `boot_command` support
...
Fixes #1082
12 years ago
Ross Smith II
750ffc8a54
builder/vmware: add VMWare Player 6 support
...
Also added VMWare Player support in Windows
Fixes #972
12 years ago
Ross Smith II
8313856949
builder/vmware-vmx: add floppy_files support
12 years ago
Ross Smith II
38d1d7fd3c
Update vmx_config.go
...
Tiny typo.
I really should add a unit test here.
12 years ago
Ross Smith II
b397d75a52
Update driver_workstation9.go
...
1 line typo
12 years ago
Rickard von Essen
4cdce51df5
builder/parallels: Don't delete sound, since it doesn't allways exist.
12 years ago
Rickard von Essen
bd25866e90
builder/parallels: Select which interface to connect to.
...
The IP address that the guest OS connect to download files from the
http_dir is determined by searching for a host interface with an IP
assigned. Now it is possible to use host_interfaces to select which
interfaces are searched.
12 years ago
Rickard von Essen
bd5d5e049d
builder/parallels: Added pppX interface to be able to run packer when using mobile wlan
12 years ago
Mitchell Hashimoto
6a930d819c
builder/vmware/common: remove unnecessary tags
12 years ago
Mitchell Hashimoto
d925331902
fmt
12 years ago
Mitchell Hashimoto
ad72c5a4bb
builder/vmware/common: more tests
12 years ago
Mitchell Hashimoto
7e991af48e
builder/vmware/common: tests for StepPrepareTools
...
/cc @rasa - an example
12 years ago
Mitchell Hashimoto
1b1d87128c
Merge pull request #1154 from rasa/765-add-tools-upload-flavor-support-in-vmware-vmx
...
builder/vmware-vmx: Added tools_upload_flavor support
12 years ago
Ross Smith II
779c7184a2
go fmt
12 years ago
Ross Smith II
d92179847d
provisioner/file: set file/directory permissions
...
fixes #1064
12 years ago
Mitchell Hashimoto
e9727df15e
Merge pull request #1146 from higebu/fix-esxi-driver-iso-upload-path
...
Fixes #1062 , ESXi Driver supports PACKER_CACHE_DIR
12 years ago
Ross Smith II
ba13239672
builder/vmware-vmx: Added tools_upload_flavor support
12 years ago
Ross Smith II
bdfac49410
builder/vmware: added vmx_data_post option
12 years ago
Yuya Kusakabe
6dc858e6cf
Fixes #1062 , ESXi Driver supports PACKER_CACHE_DIR
12 years ago
Jaime Soriano Pastor
32bb745734
Force LANG=C before appending rest of environment, as only first occurence is used
12 years ago
Mitchell Hashimoto
0b63f4f9dc
Merge pull request #1132 from rasa/1123-use-local-vboxguestadditions-iso
...
virtualbox: use local VBoxGuestAdditions.iso by default
12 years ago
Ross Smith II
bea167a48e
builder/vmware-vmx: add floppy_files support
...
fixes #1057
12 years ago
Ross Smith II
58fd5aec61
virtualbox: use local VBoxGuestAdditions.iso by default
...
fixes #1123
12 years ago
Mitchell Hashimoto
d8d22299ce
Merge pull request #1127 from jakobadam/master
...
builder/parallels: Fix http_files typo in comments
12 years ago
Jakob A. Dam
40150c376d
Fix http_files typo in comments
12 years ago
Pierre Riteau
2ee90b29c3
Allow OpenStack builder to skip certificate verification
12 years ago
Rickard von Essen
83cf8b23a1
Merge pull request #1120 from rickard-von-essen/vbox-ovf_guest_add
...
virtualbox-ovf support for guest_additions_mode
12 years ago
Ross Smith II
a8a583a80c
Merge pull request #1116 from higebu/fix-remote-esxi-builder-doesnt-upload-floppy
...
Fixes #1106 , Remote ESXi builder doesn't upload floppy
12 years ago
Rickard von Essen
c2013bf680
virtualbox-ovf support for guest_additions_mode
...
Fixes #1035 "virtualbox-ovf" builder doesn't support "guest_additions_mode" option
12 years ago
Mikhail Zholobov
57e8f8e15b
builder/parallels: Fixed unit test [GH-1115]
12 years ago
Yuya Kusakabe
5cac40b47c
Fixes #1106 , Remote ESXi builder doesn't upload floppy
12 years ago
Mikhail Zholobov
dbe40b9f55
builder/parallels: Do not delete the first cdrom device
...
Just detach the iso from 'cdrom0', but do not delete this device from VM confguration.
12 years ago
Mitchell Hashimoto
97115821ac
Merge pull request #1111 from njhartwell/master
...
builder/amazon/chroot: Appending wildcard to src causes problems
12 years ago
Nathan Hartwell
be5adb92b5
Appending wildcard to src causes problems
...
It appears that the desired effect was to support
src = "dir" -> dest/dir
src = "dir/" -> dest
but cp -R already handles this, provided the trailing slash does not
get consumed by the shell.
The wildcard causes problems when multiple files match the
shell glob, e.g.
UploadDir("/tmp", "./salt*", [])
where my working dir contains
- salt
- salt-foo
will error.
12 years ago
Yuya Kusakabe
7ff781b258
Revert the way to retrieve vm ip in VMware ESXi Driver
12 years ago
Mitchell Hashimoto
b4729ca7aa
Merge pull request #848 from nebula/securityGroups
...
Support for Security Groups in Openstack
12 years ago
Mitchell Hashimoto
5c5d62733f
fmt
12 years ago
Mikhail Zholobov
c1510d2b50
Parallels provider: fix typos
12 years ago
Mitchell Hashimoto
3a68c8aaef
builder/parallels: update builder ID
...
We're using packer namespace now
12 years ago
Rickard von Essen
cdaa9d5a8e
Added support for Parallels Desktop for Mac [GH-223]
...
Added builder plugins: builder-parallels-iso and builder-parallels-pvm.
12 years ago
Pierre Riteau
04d1bc67ff
Support more user variables in the OpenStack builder
12 years ago
Kgespada
f48fc1e2cd
Adds security group support
...
Allows security groups to be specified in the template.
12 years ago
Mitchell Hashimoto
660be5b783
builder/openstack: support a tenant ID
12 years ago
Mitchell Hashimoto
4a725409af
Merge pull request #919 from nebula/manage_floating_ips
...
[OpenStack] Add flexible IP pool/address handling.
12 years ago
Mitchell Hashimoto
6f6d656267
Merge pull request #1089 from rasa/use-slugs-for-digitalocean
...
builder/digitalocean: use names/slugs as well as IDs for image/region/si...
12 years ago
Mitchell Hashimoto
0417ae3059
builder/amazon: alphabetize some things
12 years ago
Ross Smith II
2bcd9a304e
builder/digitalOcean: use names/slugs as well as IDs for image/region/size
12 years ago
Jacob Helwig
38e880a187
Add ability to run vboxmanage commands just before exporting [GH-664]
12 years ago
Peter Leschev
eef3223f6c
Adding the ability to skip nat port forwarding for ssh connectivity
12 years ago
Ben Broderick Phillips
fc4b2e1569
Add flexible IP pool/address handling.
12 years ago
Ross Smith II
f2186fa6ff
Merge pull request #995 from asatara/add-ssh-host-vmware
...
Added ssh_host variable to vmware iso builder
12 years ago
Mitchell Hashimoto
0558d56bcf
builder/amazon/chroot: get tests psasing on Windows
12 years ago
Mitchell Hashimoto
83add3969f
builder/virtualbox: fix deps
12 years ago
Mitchell Hashimoto
91574c3a60
builder/vmware: fix builds
12 years ago
Mitchell Hashimoto
65804c07c5
builder/null: pass SSH tests
12 years ago
Mitchell Hashimoto
fa339fc275
get more proper SSH package usage in
12 years ago
Mitchell Hashimoto
5fac6c79c4
fmt
12 years ago
Mitchell Hashimoto
e84e5e4f2c
Merge branch 'update-ssh-package' of github.com:higebu/packer into higebu-update-ssh-package
...
Conflicts:
builder/amazon/common/ssh.go
builder/digitalocean/ssh.go
builder/googlecompute/ssh.go
builder/openstack/ssh.go
communicator/ssh/communicator_test.go
communicator/ssh/keychain.go
communicator/ssh/keychain_test.go
12 years ago
Mitchell Hashimoto
b024f8b628
Merge pull request #1046 from higebu/fix-esx5-driver
...
Fix unknown command and syntax error of the ESX5Driver, see #1012 , #1015
12 years ago
Mitchell Hashimoto
0da1f2d8c6
builder/googlecompute: template process instance name
12 years ago
Mitchell Hashimoto
15c2ca955e
Merge pull request #1065 from brettporter/gce_instance_name
...
builder/googlecompute: configure instance name
12 years ago
Brett Porter
e169013527
builder/googlecompute: configure instance name
...
Retain the current default of an instance name generated by UUID, but allow
users to choose a specific one. Useful for provisioning with Puppet when a
node name is used to select the right manifest.
12 years ago
Mitchell Hashimoto
23446d56fd
builder/openstack: use proper function call for config
12 years ago
Mitchell Hashimoto
159587daf4
Merge pull request #768 from devcamcar/openstack-env-support
...
builder/openstack: Add support for standard OpenStack environment variables
12 years ago
Mitchell Hashimoto
a9f07bc3ff
Merge pull request #912 from nebula/populate_api
...
builder/openstack: added support for gophercloud's PopulateApi
12 years ago
Ross Smith II
e38ff2f84e
Merge pull request #1021 from laggyluke/master
...
builder/amazon: configurable virtualization type
12 years ago
Ross Smith II
850b066408
Merge pull request #945 from benlangfeld:feature/vb_output_opts (manually)
12 years ago
higebu
37b92dff3a
Fix unknown command and syntax error of the ESX5Driver
12 years ago
Ross Smith II
db96a79bf4
use code.google.com/p/gosshold/ssh
12 years ago
Ross Smith II
a33aee13d5
Merge pull request #970 from fnoeding/nullbuilder
...
implemented null buider
12 years ago
Ross Smith II
ef1898083a
Merge pull request #971 from fnoeding/amazon-sshkey
...
optionally use existing ssh key for amazon builders
12 years ago
Ross Smith II
e9c84ef449
Merge pull request #1001 from zshenker/update-gce-builder-to-v1-api
...
Updates googlecompute build to v1 API & uses boot persistent disk
12 years ago
Ross Smith II
3f4baf4aec
Merge pull request #1011 from rasa/add-cloning-in-windows
...
builder/vmware-vmx: add cloning support on Windows [GH-824]
12 years ago
Pierre Riteau
77dedd9eab
Properly return error when invalid instance state is found
12 years ago
Ross Smith II
203f85bfb0
Merge pull request #1034 from rasa/patch-1
...
builder/digitalocean: updated default image_id, per #1032
12 years ago
higebu
f087ce16dc
Fix the build problem by updating ssh package
12 years ago
Ross Smith II
9cf76ff338
builder/digitalocean: updated default image_id, per #1032
12 years ago
Ross Smith II
27491f93f8
use old ssh code until higebu's branch is ready, see #1019
12 years ago
George Miroshnykov
fc6e8c0830
builder/amazon: configurable virtualization type
12 years ago
Ross Smith II
d420947db6
added %s for productVersion param
12 years ago
Ross Smith II
72924f0d56
builder/vmware-vmx: add cloning support on Windows [GH-824]
12 years ago
Zac Shenker
139e498962
Changing to the v1 google-api-go-client. Now creates a persistent disk as the boot disk, and sets it to auto delete
12 years ago
asatara
ecbb0e8498
Added ssh_address variable to vmware builders
12 years ago
Florian Noeding
6371b70609
optionally use existing ssh key for amazon builders
12 years ago
Florian Noeding
b879ec85cc
implemented null buider
...
The null builder is not really a bulider, it just setups a SSH
connection and runs the provisioners. It can be used to debug
provisioners without incurring high wait times. It does not create any
kind of image or artifact.
12 years ago
Ben Langfeld
128f555a2c
Formatting
12 years ago
Ben Langfeld
5b07e2604c
Fix export opts tests
12 years ago
Ben Langfeld
8cf0e53b19
Properly apply templates to export opts
12 years ago
Ben Langfeld
2cee7a5c10
Log export command being executed
12 years ago
Ben Langfeld
bfd6755859
Move to an array of strings for a deterministic option separation
12 years ago
Ben Langfeld
d1b41f2f14
Pass export_options individually to VBoxManage export
12 years ago
Mitchell Hashimoto
9ce3365382
Merge pull request #918 from stefanozanella/qemu_ssh_key_var
...
builder/qemu: support user templates in SSH key path
12 years ago
Mitchell Hashimoto
dccb2471a9
Merge pull request #926 from CpuID/master
...
builders/amazon: increase SSH timeouts for Amazon builders
12 years ago
Ben Langfeld
0332901f63
builder/virtualbox: Add an `export_opts` option
...
Allows arbitrary arguments to VBoxManage export, such as product info (--product, --vendor, etc).
12 years ago
Mitchell Hashimoto
3c59d0ef96
builder/vmware/common: fix failing tests on Windows
12 years ago
Mitchell Hashimoto
68524a3840
builder/vmware/common: fix build tag for Windows
12 years ago
Nathan Sullivan
e44fb1bd2a
increase SSH timeouts for Amazon builders, they can take a while to spin up at times
12 years ago
Mitchell Hashimoto
239aabb554
builder/virtualbox: retry unregister a few times [GH-915]
12 years ago
Stefano Zanella
85dcdcfead
builder/qemu: support user templates in SSH key path
12 years ago
Torrent Glenn
ee95fbbd99
added support for gophercloud's PopulateApi
12 years ago
Mitchell Hashimoto
4576093c17
fmt
12 years ago
Mitchell Hashimoto
9a62269116
Merge pull request #900 from pmyjavec/ws10-linux-driver
...
VMWare Workstation 10 driver for Linux
12 years ago
Alan Grosskurth
af89b31a40
builder/amazon: Fix S3 endpoint URL for instance-store builds
...
The S3 endpoint URLs don't always include the region name. See:
http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
This mapping is already provided by `goamz` via `region.S3Endpoint`,
so let's use it.
12 years ago
Mitchell Hashimoto
868a64ebbc
fmt
12 years ago
Mitchell Hashimoto
0fd7bdd3f5
builder/qemu: style
12 years ago
Mitchell Hashimoto
1b23af2667
Merge pull request #854 from qur/qemu-config-binary
...
builder/qemu: binary name to be configured
12 years ago
Mitchell Hashimoto
d2fe49d6a2
builder/qemu: document run_once is gone (but keep it around for compat)
12 years ago
Mitchell Hashimoto
8fdd60d924
Merge pull request #864 from CoreMedia/master
...
builder/qemu: handle reboots in the shell provisioner
12 years ago
Mitchell Hashimoto
e3c0715eab
fmt
12 years ago
Mitchell Hashimoto
d44a42b04f
Merge pull request #884 from pmyjavec/vmware-iso-driver-fix
...
builder/vmware: get host IP by creating & inspecting connection, allows hypervisor...
12 years ago
Mitchell Hashimoto
5f01415fb7
builder/googlecompute: tests for #867
12 years ago
Mitchell Hashimoto
05ecbd546b
Merge pull request #870 from vogxn/master
...
builder/googlecompute: save private key when debugging gce builder
12 years ago
Mitchell Hashimoto
1843ebf396
Merge pull request #883 from b2jrock/bjj-add-importopts
...
builder/virtualbox/ovf: Add import_opts to the virtualbox-ovf builder.
12 years ago
Mitchell Hashimoto
039def70f8
Merge pull request #885 from rosstimson/ec2-upload-bundle
...
builder/amazon/instance: use --url flag rather than --location for ec2-upload-bundle
12 years ago
Mitchell Hashimoto
9f7670a50f
builder/vmware-iso: output upload error [GH-899]
12 years ago
Paul Myjavec
3ea4aa1a5a
added workstation 10 driver for linux
12 years ago
Paul Myjavec
6e7a69372a
these functions can be shared by 9 and 10 vmware workstation drivers
12 years ago
Paul Myjavec
aedef06016
esx5, Get host IP by creating & inspecting connection, allows hypervisor to reside in other networks
12 years ago
Brian Johnson
ac2c4203a2
Add import_opts to the virtualbox-ovf builder. My use case is that I
...
have existing virtualbox virtual machines where I need to keep the mac
addresses so that the network interfaces come up when packer boots them.
Otherwise I just get SSH timeout and I'm unable to configure the machines.
12 years ago
Devin Carlen
e7d7f9bbfd
Add OpenStack API key support
12 years ago
Devin Carlen
828d7ebdca
Append /tokens suffix if not present for specific OpenStack authentication URLs
12 years ago
Devin Carlen
bef63846af
Add support for standard OpenStack environment variables
12 years ago
Ross Timson
58444627c1
Use --url flag rather than --location for ec2-upload-bundle
...
AWS docs (http://goo.gl/rNZiCs ) show that --location is deprecated and
to use the --url flag and reference the region endpoint instead.
12 years ago
Prasanna Santhanam
d4c9ed43c9
Formatted googlecompute builder as per `make format`
12 years ago
Prasanna Santhanam
0e98b2a269
Fixes #867 : save private key when debugging gce builder
...
Signed-off-by: Prasanna Santhanam <tsp@qubole.com>
12 years ago
mheidenr
cfb9b4d65d
enable qemu builder to handle reboots in the shell provisioner
12 years ago
Julian Phillips
a8993662b5
Allow Qemu binary name to be configured
...
On some systems the default Qemu binary name of qemu-system-x86_64
isn't appropriate. So expose the binary name as a configurable item,
allowing the user to set it to something more appropriate if they need
to.
12 years ago
Mitchell Hashimoto
e8768785a0
website: add docs for docker-import and docker-push
12 years ago
Mitchell Hashimoto
8635085665
builder/docker: make Import part of this Driver for reuse
12 years ago
Mitchell Hashimoto
34dbf72142
post-processor/docker-import: have an Artifact
...
/cc @mmckeen
12 years ago
Mitchell Hashimoto
430963f400
fmt
12 years ago
Myles Steinhauser
28286d2821
Fix tabs vs spaces
12 years ago
Myles Steinhauser
e4cfcb2a8a
Add more special scancodes
12 years ago
Mitchell Hashimoto
12938fe36b
builder/virtualbox,vmware: checksum not required if checksum type is
...
none
12 years ago
Jack Pearkes
0788d96841
builder/docker: include user vars for docker configuration
12 years ago
Mitchell Hashimoto
c74b3758d3
builder/vmware-iso: ESX5Driver impl OutputDir [GH-773]
12 years ago
Greg Lu
6d2e50e598
builder/virtualbox/ovf: fix shutdown_timeout handling
...
The shutdown_timeout config parameter was being ignored
(for both the user setting and the "5m" default) on the
virtualbox-ovf builder. As a result, packer complained
of timeouts on graceful shutdowns, and the build process
would error out. This fixes that along with some newly
created tests.
12 years ago
Mitchell Hashimoto
5c7e7daac9
comments
12 years ago
Mitchell Hashimoto
8204944c0e
builder/amazon: handle cases when amazon SG isn't available [GH-494]
12 years ago
Mitchell Hashimoto
2b801a7b12
builder/vmware,virtualbox: checksum_type can be "none" [GH-471]
12 years ago
Mitchell Hashimoto
8aabe01bad
builder/amazon/common: run_tags to apply to launch [GH-722]
12 years ago
Jack Pearkes
7a956e1a11
builder/digitalocean: add private_networking option for droplets
12 years ago
Mitchell Hashimoto
037a744be5
builder/docker: customize run command [GH-648]
12 years ago
Mitchell Hashimoto
eeadafc452
builder/vmware/*: can specify path to fusion [GH-677]
12 years ago
Mitchell Hashimoto
437dc12de3
builder/virtualbox/iso: load shutdown config [GH-754]
12 years ago
Mitchell Hashimoto
366d169388
fmt
12 years ago
Mitchell Hashimoto
f81e2ef88a
Merge pull request #746 from devcamcar/openstack-key-logging
...
builder/openstack: added keypair logging for debugging to OpenStack builder
12 years ago
Mitchell Hashimoto
8be172d19a
Merge pull request #758 from mitchellh/f-vmware-vmx
...
Build VMware machine from VMX (source VM)
12 years ago
Chris Lundquist
5564fb0028
Rename drover_docker_test.go to driver_docker_test.go
12 years ago
Mitchell Hashimoto
9362cb5364
builder/vmware/vmx: set the full_disk_path so compacting works
12 years ago
Mitchell Hashimoto
8e75075ec9
builder/vmware/vmx: compact disk
12 years ago
Mitchell Hashimoto
f134bcc3f4
builder/vmware/common: better UI when forcibly shutting down
12 years ago
Mitchell Hashimoto
2b3d98d48d
builder/vmware/vmx: create artifact
12 years ago
Mitchell Hashimoto
7f38cea9f3
builder/vmware/vmx: shutdown
12 years ago
Mitchell Hashimoto
ac8354ad9c
builder/vmware/vmx: step connect SSH
12 years ago
Mitchell Hashimoto
e11f655d22
builder/vmware/vmx: run the VMs
12 years ago
Mitchell Hashimoto
286edcb2b4
builder/vmware/vmx: configure VMX
12 years ago
Mitchell Hashimoto
03fb5fb0f1
builder/vmware/common: Fusion6 driver can clone
12 years ago