Rickard von Essen
c95aab5e0e
Merge pull request #3888 from yoctocloud/qemu
...
builder/qemu: specify disk format to avoid errors
2016-09-22 08:43:40 +02:00
Rickard von Essen
06e3539ffa
Merge pull request #3767 from taliesins/ExtendScanCodes
...
Add support for ctrl, shift and alt keys and using them as key modifier.
2016-09-20 21:36:46 +02:00
Rickard von Essen
13c9db5dd5
Merge pull request #3885 from orivej/on-error
...
Add -on-error command line argument to allow preserving artifacts on builder errors
2016-09-20 12:28:14 +02:00
Matthew Hooker
7cbb98f2d5
QemuArggs -> QemuArgs
...
Avast ye, resolves #3901
2016-09-19 14:34:13 -07:00
Orivej Desh
6762965696
Add -on-error command line argument to allow preserving artifacts on builder errors
...
Resolves #409
2016-09-16 12:15:00 +00:00
Vasiliy Tolstov
4986ef39b2
builder/qemu: specify disk format to avoid errors
...
Image format was not specified for XXX and probing
guessed raw.
Automatically detecting the format is dangerous for raw images, write
operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-09-15 17:59:05 +03:00
Rickard von Essen
3ab49595e6
Merge pull request #3681 from yoctocloud/communicator
...
builder/qemu: dont fail on communicator set to none
2016-09-13 22:45:12 +02:00
Taliesin Sisson
1155c6d4d6
Use the correct fmt verb for log output
2016-07-31 19:46:38 +01:00
Taliesin Sisson
a87ad05866
Add support for ctrl, shift and alt keys.
...
Add support for using ctrl, shift and alt as key modifiers. So you can now achieve ctrl+c by using "<leftCtrlOn>c<leftCtrlOff>".
Updated documentation for new key stroke tokens.
2016-07-31 19:05:10 +01:00
Ricard Clau
acededfc6e
tests actually test the floppies
2016-07-27 21:59:21 +01:00
Vasiliy Tolstov
83f175cac7
builder/qemu: dont fail on communicator - none
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-07-07 00:49:23 +03:00
Isa
8e86308cb4
don't use invalid -q flag for qemu-img
...
fix lacking coma
2016-06-23 14:49:56 -07:00
Ian Duffy
fa273f3bea
Allow configurable VNC bind IP for QEMU
...
This commit allows for a user configurable VNC bind IP to be used for
QEMU.
By default this will be 127.0.0.1, alternatively, a user can use
0.0.0.0 which will bind to all interfaces.
This pull request should satisfy concerns of #3570 and #3559 . It is
also in-line with the functionality provided by #3566 and #3565
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-25 10:10:12 +01:00
Brian Candler
873760e69e
Clarify how to run with logs if qemu fails to start ( #3561 )
2016-05-20 14:25:52 -07:00
Chris Bednarski
24cf28d4b6
Merge branch 'yoctocloud-accelerator'
2016-05-19 22:54:19 -07:00
Chris Bednarski
bff939b373
Added comment on why we need to open /dev/kvm before using it
2016-05-19 22:53:53 -07:00
Vasiliy Tolstov
0f638f9111
builder/qemu: add simple kvm/tcg autodetection
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 15:38:38 +03:00
Sean Chittenden
98bae9c98e
Pause between boot_commands when debugging a QEMU build
...
When debugging a build (or maintaining an existing packer template), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer template.
2016-05-17 17:14:50 -04:00
Vasiliy Tolstov
e5276b31a3
fix assign to driveArgs
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-03-01 21:15:51 +00:00
Chris Bednarski
fee00baf6a
Revert "close #3192"
...
This reverts commit 3b8f0023e5
.
2016-02-29 13:51:47 -08:00
Vasiliy Tolstov
3b8f0023e5
close #3192
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-26 14:05:43 +00:00
James Bishopp
bd8fb014c4
Removed ssh_key_path
...
- removed backwards compatibility code
- ensured key usage came from SSHPrivateKey configuration
- changed tests to use private_key
2016-02-12 17:24:42 -08:00
Dan Sedlacek
279555b8e1
Added ability to see what SSH Port packer generated in template data
2016-02-12 11:39:08 -08:00
Vasiliy Tolstov
2104fcec69
builder/qemu: allow to specify time.Duration in special <wait> command
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-02 09:13:37 +00:00
Vasiliy Tolstov
d96283e475
qemu: allow to use live iso without cache
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-01-25 10:44:42 +00:00
Chris Bednarski
db0e098800
Merge pull request #2750 from rickard-von-essen/issue-2743
...
Fixes #2743 : Change log messages for step_forward_ssh
2016-01-21 13:28:44 -08:00
Mark Peek
7f149e595d
Refactor http server config into common
2015-11-01 14:45:47 -08:00
Mark Peek
31dd989e2e
Add qcow2 shrink/compress tests for #2748
2015-10-31 18:15:19 -07:00
Vasiliy Tolstov
8e1cc16ab5
add convert step for qcow2 image format
...
https://ext4.wiki.kernel.org/index.php/Ext4_VM_Images does not
recommends to dd zero file and deletes it, but in case of enabling
discards and qcow2 image we can recreate qcow2 file with less used
space.
Also qemu-img able to enable compression for qcow2 files, that
sometimes may be useful because it natively supported by qemu.
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-10-29 12:27:46 +00:00
Mark Peek
c3d77dc5a1
Fix unintended BC issues in ISO option refactoring
2015-10-26 17:39:48 -07:00
Mark Peek
cdcffecc2d
Refactor builder ISO options
...
The ISO builders (parallels, qemu, virtualbox, and vmware) had too
much common code which needed to be maintained separately. This change
moves that code to a common ISO configuration.
2015-10-20 16:27:47 -07:00
Mark Peek
e9657e6a9f
Merge pull request #2642 from oliviertremblay/master
...
Make TargetPath customizable
2015-10-20 12:11:13 -07:00
Mark Peek
c48548b3bb
go fmt
2015-10-18 11:13:09 -07:00
Rickard von Essen
e4dc543cae
Fixes #2743 : Change log messages for step_forward_ssh
...
Changed the log messages and changed the m name of the
VirtualBox builder NAT rule name from packerssh to
packercomm.
2015-09-17 13:43:08 +02:00
Vasiliy Tolstov
48f8612b72
add virtio-scsi
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-09-15 10:59:29 +00:00
Vasiliy Tolstov
3fae902bc3
enable discards only on qemu >= 2
...
older qemu versions does not have discard option, so not enable it
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-09-08 10:40:23 +00:00
Chris Bednarski
bf733b75d5
Revert "By default, Qemu will now have an extension added based on the file format. This is a change to more closely match behavior from 0.7.5."
...
This reverts commit 55fadd96bc
.
2015-08-21 16:46:29 -07:00
Chris Bednarski
c8d1c650f0
Revert "Updated test for qemu VMName. Previously (0.7.5) a file extension was automatically added to the VMname but this logic is not exposed for testing."
...
This reverts commit d13647ee0f
.
2015-08-21 16:45:47 -07:00
Chris Bednarski
d13647ee0f
Updated test for qemu VMName. Previously (0.7.5) a file extension was automatically added to the VMname but this logic is not exposed for testing.
2015-08-20 14:03:16 -07:00
Olivier Tremblay
6644f57160
Merge branch 'master' into custom-targetpath
2015-08-20 08:20:55 -04:00
Olivier Tremblay
f301a6454d
Added documentation, renamed config param to iso_target_path
2015-08-20 07:37:24 -04:00
Olivier Tremblay
661552dfd5
Merge branch 'master' into custom-targetpath
2015-08-20 07:26:22 -04:00
Chris Bednarski
55fadd96bc
By default, Qemu will now have an extension added based on the file format. This is a change to more closely match behavior from 0.7.5.
2015-08-18 17:44:17 -07:00
Chris Bednarski
cabbe007dd
Merge pull request #2415 from DrewDahl/fix-qemu-vnc-missed-keys
...
Add 1/10th second delay between key events to VNC for QEMU
2015-08-03 15:57:52 -07:00
Bob Kuo
585638d063
Do not require exclusive VNC access while buildling
...
An additional client can be connected during build time for inspection.
We can manually connect and set our VNC clients to ignore all input or
we can connect with vnc2flv to record the build session for later
verification.
2015-07-29 10:00:09 -05:00
Olivier Tremblay
223e35fc65
Makes StepDownload's TargetPath customizable.
...
I exposed TargetPath as a config file option "target_path". I don't like
the name, but it follows the naming convention. The purpose of TargetPath
stands unmodified, and it enables a fair amount of customization.
2015-07-28 07:45:02 -04:00
Andrew Dahl
1f6137e636
Add 1/10th second delay between key events to VNC for QEMU
2015-07-08 16:55:25 -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
84189f7a28
builder/*: properly save interpolation context
2015-06-22 09:22:42 -07:00
Mitchell Hashimoto
ba2cf18460
Merge branch 'master' of https://github.com/ldx/packer into ldx-master
2015-06-18 10:18:17 +02:00