Taliesin Sisson
efafed4f37
Copy the folder structure correctly
2016-12-12 22:44:15 +00:00
Taliesin Sisson
5f2c12324c
No need to remove floppy controller for 2nd generation vms
...
Don't want to be prompted for confirmation from powershell commandlets
2016-12-12 22:44:14 +00:00
Taliesin Sisson
837f9addd0
Check the floppy files and not the dvd files attached
2016-12-12 22:44:13 +00:00
Taliesin Sisson
4e8074d7e5
Need to expose generation as a public property
2016-12-12 22:44:13 +00:00
Taliesin Sisson
e18594f404
Hyperv generation 2 machines use scsi for dvd drives. Allow gen 1 machines to have at least 1 iso image attached
2016-12-12 22:44:12 +00:00
Taliesin Sisson
ef507c7bd7
Pass in any iso images to add as dvd drives during boot
2016-12-12 22:44:11 +00:00
Taliesin Sisson
3051ea6633
Quote powershell so that it does not try to interpret command to be run
...
Get VName out of state. This allows template replacement to be run on vmname
2016-12-12 22:44:10 +00:00
Taliesin Sisson
6c3030c73a
Add a little safety around variables that are passed into provisioner.
2016-12-12 22:44:10 +00:00
Taliesin Sisson
bd0b1190f6
When redirecting local ports to hyper visor ports we need to configure WinRM ports as well as SSH ports.
2016-12-12 22:44:09 +00:00
Taliesin Sisson
f3cc413bbb
Set the dvd to the first boot device
2016-12-12 22:44:08 +00:00
Taliesin Sisson
02db768018
With generation 2 machine by default a dvd drive is not created. So create a dvd drive for os if it does not exist.
...
Allow secure boot mode to be configured from config.
2016-12-12 22:44:07 +00:00
Taliesin Sisson
aa1f1da1ff
Support for boot_command
...
Setup local http server
Add compaction of hard drive
GetHostAdapterIpAddress function added for hyperv
renamed step step_start_vm to step_run to fall in ine with naming conventions of other builders
2016-12-12 22:44:07 +00:00
Taliesin Sisson
03b0698edd
Remove devices after it has been shut down
...
Attempt to stop vm, before deleting it
2016-12-12 22:44:06 +00:00
Taliesin Sisson
2d7cfcd65d
Throw error if we can't get mac or ip address during steps
2016-12-12 22:44:05 +00:00
Taliesin Sisson
87b3dec3d2
Wait until WinRM is available, before continuing with install. This is how other system like VeeWee do it.
...
Add support for number of cpus to use for vm
Add support for vm generation
2016-12-12 22:44:04 +00:00
Taliesin Sisson
79a5f90379
Use the convention for default vmname
...
Use the convention for default hdd size
Tests added for builder
2016-12-12 22:44:04 +00:00
Taliesin Sisson
469415fdfb
Tests where for an old version of powershell class. Changed for the new one
2016-12-12 22:44:03 +00:00
Taliesin Sisson
a42215981e
The test is meant to fail if the folder already exists
2016-12-12 22:44:02 +00:00
Taliesin Sisson
ca16f33fa3
Use the same configuration style as existing builders
...
Move builder into correctly named folder
2016-12-12 22:44:02 +00:00
Taliesin Sisson
1fe4c501e4
Port of https://github.com/pbolduc/packer-hyperv/
...
Remove steps that are windows specific
2016-12-12 22:44:01 +00:00
Matthew Hooker
d632f3b574
update changelog
2016-12-12 12:36:31 -08:00
Matthew Hooker
b49be38d74
Merge pull request #4210 from yoctocloud/fixes
...
various fixes
2016-12-12 12:33:19 -08:00
Matthew Hooker
3895ec40a3
Merge pull request #4272 from bhcleek/ansible-docker-test
...
Ansible docker test
2016-12-09 11:22:47 -08:00
Matthew Hooker
9cf842b84e
Merge pull request #4274 from mitchellh/4273
...
add ca-central-1 to list of known aws regions.
2016-12-09 11:22:22 -08:00
Matthew Hooker
f1fb942219
add ca-central-1 to list of known aws regions.
...
resolves #4273
2016-12-09 11:21:44 -08:00
Billie Cleek
e55c530cc6
add ansible tests for docker builder
2016-12-09 06:31:52 -08:00
Billie Cleek
c1591a8efa
update ansible tests to use wheezy
2016-12-09 06:31:52 -08:00
Matthew Hooker
4dd0f51b14
update changelog
2016-12-08 22:38:52 -08:00
Matthew Hooker
c510988cbf
Merge pull request #4209 from bhcleek/ansible-winrm
...
provisioner/ansible: assume scp target is file (resolves winrm incompatibility)
2016-12-08 22:37:41 -08:00
Matthew Hooker
defdd0bc6a
update changelog
2016-12-08 17:27:07 -08:00
Matthew Hooker
a27446b54f
Merge pull request #4269 from mitchellh/4268
...
fix wait boot_command regex.
2016-12-08 16:51:30 -08:00
Matthew Hooker
a46c071143
fix regex. need to account of XXhYYm etc
2016-12-08 15:12:48 -08:00
Matthew Hooker
1e96aa845b
fix wait boot_command regex.
...
Resolves #4268
2016-12-08 15:12:40 -08:00
Matthew Hooker
82ab02d530
update changelog
2016-12-08 14:09:33 -08:00
Matthew Hooker
d3ddd99721
Merge pull request #4163 from StackPointCloud/packer-builder-oneandone
...
Packer Builder 1&1
2016-12-08 14:07:35 -08:00
Matthew Hooker
5eb073c501
update changelog
2016-12-08 12:44:46 -08:00
Matthew Hooker
9e71730c38
Document changes to shell-local post-processor
2016-12-08 12:37:38 -08:00
Vasiliy Tolstov
332a208fee
post-processor/shell-local: run only once for each builder
...
don't run post-processor for each artifact file, but only for
each builder to be consistent with other post-processors
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-12-07 20:54:55 -08:00
Matthew Hooker
0a3b7e1b53
Merge pull request #4258 from ksatirli/patch-1
...
highlights possible values instead of quoting them
2016-12-07 15:38:55 -08:00
Kerim Satirli
0fe41a29a0
updates quoting for `amazon-ebs-volume.html.md`
2016-12-07 09:31:09 +01:00
Kerim Satirli
73a50ff91f
updates quoting for `amazon-instance.html.md`
2016-12-07 09:29:45 +01:00
Kerim Satirli
a31da3fb07
updates quoting for `amazon-import.html.md`
2016-12-07 09:27:46 +01:00
Matthew Hooker
dcee10cc5a
update changelog
2016-12-06 18:31:12 -08:00
Matthew Hooker
ba75405641
Merge pull request #4262 from covo6624/openstack-reauth
...
Openstack reauth
2016-12-06 18:25:46 -08:00
Dave Buckley
0c94e37c42
pull down fix to authv3 from upstream gophercloud
2016-12-07 01:36:41 +00:00
Dave Buckley
91562636d4
Allow reauth to keystone after token expiry
2016-12-07 01:36:10 +00:00
Matthew Hooker
d6e6307245
Merge pull request #4261 from mitchellh/goversiontest
...
test with go 1.7 and 1.8beta
2016-12-06 16:50:54 -08:00
Matthew Hooker
5ea0eb0ec6
print time.Time with %v
2016-12-06 16:47:08 -08:00
Matthew Hooker
5d06d468b4
test with go 1.7 and 1.8beta
2016-12-06 16:32:32 -08:00
Kerim Satirli
74ed95511c
highlights possible values instead of quoting them
...
Hello!
I updated a few values in this page to be highlighted instead of "quoted". I think this is in line with other values already existing on this page and should make the whole more consistent.
Happy to discuss if this needs changes!
This is a clean(er) version of PR 4255
2016-12-06 21:54:16 +01:00