Lorenzo Villani
7e64e90670
Use --portcount on VirtualBox 5.x
2015-07-13 20:32:45 +02:00
Andrew Dahl
1f6137e636
Add 1/10th second delay between key events to VNC for QEMU
2015-07-08 16:55:25 -05:00
Chris Bednarski
1c71eaaa91
Change panic to multierror
2015-07-07 17:12:21 -06:00
Chris Bednarski
775450f46a
Merge branch 'fix_gce_image_name' of https://github.com/samitpal/packer into b-google-image-name
2015-07-07 16:19:55 -06:00
Chris Bednarski
bd6c31c2d9
Added TestImageName and moved private methods to the bottom of the file
2015-07-07 16:18:31 -06:00
Sunil K Chopra
750e09d51d
should be ssh_host, not host
2015-07-07 17:04:27 -05:00
Mitchell Hashimoto
26aa3dd575
amazon/common: store instance ID earlier for cleanup
2015-07-07 11:07:38 -06:00
Samit Pal
6d6b3e1ac2
The default image name in the code has a bug. It is being set to packer-{{timestamp}}, the {{timestamp}} part needs to be interpolated. Without the interpolation the GCE builder fails with
...
the following error
==> googlecompute: Creating image...
==> googlecompute: Error waiting for image: googleapi: Error 400: Invalid value for field 'resource.name': 'packer-{{timestamp}}'. Must be a match of regex '(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)', invalid
2015-07-07 05:27:58 +00:00
Steven Merrill
0869c9fe64
Fix #2830 .
2015-07-02 10:23:44 -04:00
Marc Siegfriedt
e9ef2b987e
fixed the test as well
2015-07-01 15:11:40 -07:00
Marc Siegfriedt
df1be999dc
Fixed case sensitive issue with VMX entries not being overwritten
2015-07-01 15:11:40 -07:00
Marc Siegfriedt
1d7d490c01
updated how vmx entries are handled
2015-07-01 15:11:40 -07:00
Chris Bednarski
caa518b294
Merge pull request #2358 from mitchellh/b-do-private-network
...
Detect the first public IPv4 address for Digital Ocean
2015-06-29 15:13:31 -07:00
Chris Bednarski
51804e9132
Find a public IP address to provision a digital ocean box
2015-06-29 14:47:28 -07:00
Mitchell Hashimoto
2ee2850c1a
Merge pull request #2353 from mitchellh/b-gce-comm-default
...
builder/googlecompute: default SSH settings properly [GH-2340]
2015-06-29 14:03:46 -07:00
Mitchell Hashimoto
6dd36075b2
Merge pull request #2352 from mitchellh/b-amazon-bundle
...
builder/amazon/instance: set valid bundle prefix [GH-2328]
2015-06-29 13:59:45 -07:00
Mitchell Hashimoto
6c7a7b6068
builder/googlecompute: default SSH settings properly [GH-2340]
2015-06-29 09:56:33 -07:00
Mitchell Hashimoto
98db68e36c
builder/amazon/instance: set valid bundle prefix [GH-2328]
2015-06-29 09:49:11 -07:00
Mitchell Hashimoto
b315e470c8
builder/amazon: set debug flag for get password
2015-06-29 09:40:58 -07:00
Mitchell Hashimoto
0a2e54feaf
builder/amazon: output WinRM password for debug mode [GH-2336]
2015-06-29 09:40:15 -07:00
Mitchell Hashimoto
4a60e469e9
update CHANGELOG
2015-06-29 09:33:20 -07:00
Mitchell Hashimoto
677498a55c
Merge pull request #2323 from israelshirk/feature/vmware-nonesum
...
builder/vmware: Run stat on vmware when checksum type = none
2015-06-29 09:32:08 -07:00
Mitchell Hashimoto
95dd79740f
Merge pull request #2324 from tcahill/group-launch-permissions
...
Fix setting ami_groups
2015-06-29 09:30:51 -07:00
Mitchell Hashimoto
7b64723a11
Merge pull request #2327 from emate/fix-for-spot-requests-cleanup
...
Fixes spot instance cleanup.
2015-06-29 09:24:01 -07:00
Mitchell Hashimoto
aab5ca7059
update CHANGELOG
2015-06-29 09:22:33 -07:00
Marcin Matlaszek
3eaf7f38b0
Fix adding launch permissions for created ami.
2015-06-29 15:39:27 +02:00
Tom Cahill
6644d76982
Use aws.String to obtain string pointers
2015-06-26 12:08:44 -07:00
Tom Cahill
016d916d83
Fix adding groups to AMI launch permissions.
...
Previously, groups were granted launch permissions by submitting a
ModifyImageAttribute request with the UserGroups parameter set
appropriately. This is no longer valid, as the LaunchPermission
parameter must be set.
2015-06-26 10:52:27 -07:00
Clint Shryock
4d003aa5a3
builder/amazon-instance: Don't specify empty Virtualization Type
2015-06-26 10:43:13 -05:00
Marcin Matlaszek
586cab11ee
Fixes spot instance cleanup.
2015-06-26 15:29:46 +02:00
Israel Shirk
88fac0b49c
Have nonesum run stat rather than nonesum because nonesum sums none. k.
2015-06-25 19:03:00 -06:00
Tommy Ulfsparre
8ae0cfc759
copy and convert to pointer
2015-06-25 20:07:45 +02:00
Clint
7b9d48799e
Merge pull request #2316 from jjappi/fix-aws-tagging
...
Fix failing AMI snapshot tagging when copying to other regions.
2015-06-25 10:17:34 -05:00
Marcin Matlaszek
dd97a60c9b
Fix for tag creation when creating new ec2 instance.
2015-06-25 17:02:38 +02:00
Jani Jappinen
c537623bc6
Fix failing AMI snapshot tagging when copying to other regions.
2015-06-25 17:25:28 +03:00
Clint Shryock
7af5d5419a
builder/amazon: Fix issue with sharing AMIs with ami_users
2015-06-24 11:41:58 -05:00
Clint
5b67472d07
Merge pull request #2296 from mitchellh/f-amazon-chroot-mount-options
...
builder/amazon-chroot: add mount_options configuration option
2015-06-23 11:55:56 -05:00
Clint Shryock
3a54e6899d
code cleanup
2015-06-23 11:34:42 -05:00
Mitchell Hashimoto
3fac725a55
Merge pull request #2291 from mitchellh/b-qemu-default
...
builder/qemu: default acceleration to tcg on Windows [GH-2284]
2015-06-23 09:34:07 -07:00
Clint Shryock
29cef0eae4
builder/amazon-chroot: add mount_options configuration option
2015-06-23 11:26:13 -05:00
Clint
3884555007
Merge pull request #2289 from mitchellh/b-amazon-chroot-fixes
...
builder/amazon-chroot: various fixing and debugging of chroot builder
2015-06-23 10:53:02 -05:00
Clint Shryock
5d2ea088a2
builder/amazon-chroot: add root_volume_size to resize chroot root volume
2015-06-23 10:35:59 -05:00
Clint Shryock
8a9a59c3ca
check if newDevice.EBS is nil
2015-06-23 09:11:29 -05:00
Clint Shryock
9f8b0041f0
builder/amazon-chroot: use source image virtualization type, unless specified
2015-06-22 22:08:31 -05:00
Clint Shryock
f374edc2b8
builder/amazon-chroot: Fixes for amazon-chroot builder
...
These are needed for chroot builder to work
2015-06-22 21:34:38 -05:00
Mitchell Hashimoto
5852bd7cd7
builder/qemu: default acceleration to tcg on Windows [GH-2284]
2015-06-22 17:56:35 -07:00
Mitchell Hashimoto
9bc0dfa389
builder/vmware: disable VNC before packaging
2015-06-22 14:50:25 -07:00
Mitchell Hashimoto
1aa1399e85
builder/parallels: fix compilation issuse
2015-06-22 12:46:13 -07:00
Mitchell Hashimoto
13c2c4660d
Merge branch 'issue_2080' of https://github.com/rickard-von-essen/packer into rickard-von-essen-issue_2080
2015-06-22 12:39:30 -07:00
Mitchell Hashimoto
5db4d7c01f
fmt
2015-06-22 12:37:52 -07:00
Mitchell Hashimoto
944b4bf46c
common: delete file if checksum fails
2015-06-22 12:17:29 -07:00
Clint
6579219013
Merge pull request #2282 from mitchellh/f-amazon-cleanup-volumes
...
builder/amazon-ebs: Clean up orphan volumes
2015-06-22 12:56:26 -05:00
Mitchell Hashimoto
93bb0d86af
builder/virtualbox: fix default names
2015-06-22 09:25:15 -07:00
Mitchell Hashimoto
84189f7a28
builder/*: properly save interpolation context
2015-06-22 09:22:42 -07:00
Mitchell Hashimoto
d600456487
builder/virtualbox: fix interpolation weirdness
2015-06-22 09:17:09 -07:00
Mitchell Hashimoto
54e081d5af
builder/virtualbox: only remove output dir after check
2015-06-22 09:09:12 -07:00
Clint Shryock
dff6cf1a83
code tweak after review
2015-06-22 10:48:54 -05:00
Mitchell Hashimoto
9c6d0dfc8b
builder/virtualbox: fix type casting
...
/cc @pearkes - This fixes that crash
2015-06-21 19:56:55 -07:00
Clint Shryock
c9714ce69e
builder/amazon-ebs: Clean up orphan volumes
...
Fixes #1783
2015-06-19 10:22:39 -05:00
Mitchell Hashimoto
9c0f37b2c9
builder/amazon: fix weird edge cases with key names [GH-2281]
2015-06-19 06:21:20 +02:00
Mitchell Hashimoto
5c290fdbc7
builder/amazon use proper key pair name
2015-06-19 06:15:16 +02:00
Chris Bednarski
1edbbd80bf
Merge pull request #2205 from mitchellh/f-vtolstov-compress
...
Added new compress post-processor from Vasiliy Tolstov
2015-06-18 19:09:44 -07:00
Chris Bednarski
f06847ff10
Merge branch 'master' into f-vtolstov-compress
2015-06-18 05:19:30 -07:00
Mikhail Zholobov
0a53fbc29d
builder/parallels: Add mock for "SetDefaultConfiguration" method
...
Fixes unit test failures
2015-06-18 14:36:32 +03:00
Mikhail Zholobov
2860bfdf82
builder/parallels: Apply default settings on the VM creation step.
2015-06-18 12:08:17 +03:00
Mikhail Zholobov
f7af571cd9
builder/parallels: Add "SetDefaultConfiguration" function
...
This functions applies the default configuration to the virtual machine. Also, it disables some integration features
which should not present in the resulted VM image.
Functions are different in PD 9 and 10 structs because some additional options appeared only in Parallels Desktop 10 release.
2015-06-18 12:04:02 +03:00
Mitchell Hashimoto
d9fceaf39d
update CHANGELOG
2015-06-18 10:19:46 +02:00
Mitchell Hashimoto
ba2cf18460
Merge branch 'master' of https://github.com/ldx/packer into ldx-master
2015-06-18 10:18:17 +02:00
Mitchell Hashimoto
fd40b714c4
Merge pull request #2118 from vtolstov/image
...
remove image format from image name in qemu builder
2015-06-18 10:16:51 +02:00
Mitchell Hashimoto
9bb7d0a2d5
Merge pull request #2152 from abayer/gce-optional-internal-ip
...
builder/google: Adds support for using the internal IP rather than NAT IP in GCE
2015-06-18 10:15:27 +02:00
Mitchell Hashimoto
4da0b42fc1
Merge pull request #2054 from garnaat/amazon-chroot-check-before-umount
...
builder/amazon-chroot: Only unmount if path is actually mounted
2015-06-18 10:12:06 +02:00
Mitchell Hashimoto
b7dab2689a
fmt
2015-06-18 05:23:04 +02:00
Bob Kuo
b77fcd90f3
Force qemu to use a VNC port by setting vnc_min_port == vnc_max_port
...
Similar to Issue #1288 , this prevents a crash when we set the VNC
minimum port equivalent to the VNC maximum port
2015-06-17 16:07:38 -05:00
Chris Bednarski
f2f8ad16c0
Merge branch 'master' into f-file-builder
2015-06-16 12:08:33 -07:00
Chris Bednarski
aea70d5a72
Added acceptance test for file builder
2015-06-16 11:31:53 -07:00
Chris Bednarski
29f02d243f
Had io.Copy args swapped; also use os.Create instead of os.OpenFile for MAGIC
2015-06-15 18:56:09 -07:00
Mitchell Hashimoto
de2004c1c9
Merge branch 'master' of https://github.com/nyetsche/packer into nyetsche-master
2015-06-15 15:21:58 -07:00
Alexander Golovko
15f40a3d00
fix disabling vmware tools for ESX
2015-06-15 15:08:56 -07:00
Marc Siegfriedt
667c53942b
use template for additional disks
2015-06-15 12:40:34 -07:00
Clint
5e786e3bb2
Merge pull request #2250 from mitchellh/b-amazon-block-docs
...
Document Amazon Block Device Mapping fields
2015-06-15 12:20:13 -05:00
Chris Bednarski
9c5845e3c7
Merge branch 'master' into f-file-builder
2015-06-15 10:18:42 -07:00
Mitchell Hashimoto
523a3342b8
builder/qemu: fix tests
2015-06-15 10:15:08 -07:00
Clint Shryock
d22c4173d3
fix crash when waiting for an instance that has failed
2015-06-15 11:53:21 -05:00
Mitchell Hashimoto
dc067b3f10
Merge pull request #2244 from mitchellh/f-docker-ssh
...
builder/docker: support custom communicators
2015-06-15 09:48:55 -07:00
Mitchell Hashimoto
c76bed37ec
Merge pull request #2236 from mitchellh/b-qemu-ssh
...
builder/qemu: use proper ssh port [GH-2074]
2015-06-15 09:41:28 -07:00
Mitchell Hashimoto
70af21615e
Merge pull request #2233 from mitchellh/b-output-dir
...
builder/virtualbox,vmware: validate output dir in step
2015-06-15 09:40:36 -07:00
Mitchell Hashimoto
a95408aa21
Merge pull request #2224 from mitchellh/f-os-userdata
...
builder/openstack: support user data [GH-1867]
2015-06-15 09:35:49 -07:00
Mitchell Hashimoto
3edff00696
Merge pull request #2223 from mitchellh/b-stop-openstack
...
builder/openstack: load extensions, stop server if supported
2015-06-15 09:35:36 -07:00
Mitchell Hashimoto
d8cc24f86e
builder/openstack: no more port
2015-06-15 09:34:35 -07:00
Mitchell Hashimoto
5167c65f87
Merge branch 'b-openstack-privage'
2015-06-15 09:33:58 -07:00
Clint
2372393f64
Merge pull request #2212 from mitchellh/f-amazon-add-tags-to-snapshots
...
Add EBS snapshot tags #846 #1219
2015-06-15 10:05:57 -05:00
Clint
8fca582278
Merge pull request #2221 from mitchellh/f-amazon-force-deregister-artifacts
...
builder/amazon: Add force_deregister option
2015-06-15 10:02:30 -05:00
Mitchell Hashimoto
cab2665119
builder/docker: support custom communicators
2015-06-14 22:09:38 -07:00
Mitchell Hashimoto
7fc69828c5
builder/virtualbox: fix forwarding to work with WinRM
2015-06-14 21:47:53 -07:00
Mitchell Hashimoto
ccf20568a7
Merge pull request #2240 from mitchellh/f-windows
...
Windows AWS instances
2015-06-14 10:52:10 -07:00
Mitchell Hashimoto
101e5986dc
builder/amazon: enable windows for instance type too
2015-06-14 10:50:18 -07:00
Mitchell Hashimoto
b8d5bd3776
Merge pull request #2242 from emate/spot_network_interfaces_fix
...
Fix network interface spec when requesting spot.
2015-06-14 10:48:59 -07:00
Marcin Matlaszek
b51761ca36
Fix network interface spec when requesting spot.
2015-06-14 17:47:45 +02:00
Mitchell Hashimoto
e9d916a7bc
builder/amazon: don't print windows password
2015-06-13 23:14:48 -07:00
Mitchell Hashimoto
8f6ecfd9e3
builder/amazon: various fixes (minor) to get things going
2015-06-13 23:12:59 -07:00