Commit Graph

65 Commits

Author SHA1 Message Date
Tyler Tidman 4a628ec02d Fix qemu builder vnc_port_min and vnc_port_max text (copied from vmware-iso builder) 2016-02-16 16:02:33 -05:00
Dan Sedlacek 0146294095 Added documentation 2016-02-12 11:39:19 -08:00
Tyler Tidman c7c8b13bb5 Show default for iso_skip_cache in qemu docs 2016-02-09 14:44:24 -05:00
Rickard von Essen bbade5d8ae Added "iso_checksum_url" and keep the functionality of "iso_checksum"
Added support for file shema in "iso_checksum_url".
Added some unit tests and updated the docs accordingly.
2016-02-08 19:35:50 +01:00
Vasiliy Tolstov 00fcc3dfdc allow to specify checksum via url
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-08 19:35:50 +01:00
Chris Bednarski 6c35f44104 Merge pull request #3129 from vtolstov/wait
builder/qemu: allow to specify time.Duration in special <wait> command
2016-02-04 17:16:07 -08:00
Tyler Tidman 7c89df2080 Forgot to tidy up a comma too 2016-02-03 11:25:30 -05:00
Tyler Tidman e20d68cef5 Update qemu builder doc net_device list, put things in packer fix order 2016-02-03 11:16:40 -05: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
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 e9657e6a9f Merge pull request #2642 from oliviertremblay/master
Make TargetPath customizable
2015-10-20 12:11:13 -07:00
Mark Peek 2411c779d1 Make qemu ssh_wait_timeout example more reasonable 2015-10-01 22:52:06 -07:00
Robin Kearney 87f2f7c96d Confusing to specify this twice 2015-09-30 13:13:46 +01:00
Chris Bednarski f725cf1a4b Correct docs for qemu vm_name 2015-08-21 17:10:56 -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
Chris Bednarski d367b8b521 If is customized no file extension is added. The documentation has been updated to reflect this. 2015-08-18 17:43:59 -07:00
Chris Bednarski d8e8f98b32 Change to 4 spaces 2015-07-22 20:25:58 -07:00
Chris Bednarski d57c051651 Reformat everything 2015-07-22 19:31:00 -07:00
Tyler Tidman 3139d3d2c5 Fixes #2474: Replace use of 'int' and 'uint' in website docs with 'integer' and wrap long lines 2015-07-19 10:56:00 -04:00
Tyler Tidman bb6db46962 Cull duplicate word 'values' for disk_cache description 2015-07-17 12:20:57 -04:00
Tyler Tidman d8cde46e76 Add missing default values for 'disk_cache' and 'disk_discard' in qemu builder docs, sort qemu_binary before qemuargs so it matches ordering from 'packer fix' 2015-07-17 12:10:22 -04:00
Mitchell Hashimoto 3cc90768a2 website: update docs to link to communicator 2015-06-23 14:44:57 -07:00
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>
2015-05-17 20:48:58 +03:00
Emil Hessman 825cd7a86a website: address spelling mistakes 2015-02-21 09:27:04 +01:00
Ross Smith II b8626d8340 Alphabetized options in qemu.html.markdown 2014-12-21 10:12:34 -08:00
Mitchell Hashimoto 60e2a8b5fc Merge pull request #1342 from iwebhosting/qemu-image-support
Add support for building QEMU images from pre-existing image files
2014-10-28 08:38:51 -07:00
Mitchell Hashimoto 733a3ca317 website: update for machine type on qemu 2014-10-27 17:06:17 -07:00
Mitchell Hashimoto d0501a7bfb Merge pull request #1493 from hiroyuki-sato/patch_for_packer
Update document about qemu builder for [GH-1407].
2014-10-27 17:05:26 -07:00
Mitchell Hashimoto c161f9adc5 Merge pull request #1558 from vtolstov/qemu_cache
builder/qemu: add ability to set cache mode for disk
2014-10-27 16:56:16 -07:00
Mitchell Hashimoto 3504e4c1b7 Merge branch 'fix_qemu_size_argument' of https://github.com/berendt/packer into berendt-fix_qemu_size_argument
Conflicts:
	website/source/docs/builders/qemu.html.markdown
2014-10-27 16:13:53 -07:00
Christian Berendt 5874e23548 Fix the value for the QEMU size parameter in the documentation
Instead of 1024m it shoud be 1024M. Using 1024m as value does not work:

---snip---
2014/10/27 10:21:41 packer-builder-qemu: 2014/10/27 10:21:41 Executing
/usr/bin/qemu-system-x86_64: []string{"-m", "1024m", "-redir",
"tcp:3213::22", "-device", "virtio-net,netdev=user.0", "-cdrom",
"/home/berendt/B1-Systems/openstack-appliance/packer_cache/436c246ce08d768bbacce00e39c11ecd09071565542788d08b3120de0228c9eb.iso",
"-machine", "type=pc-1.0,accel=kvm", "-vnc", "0.0.0.0:47", "-netdev",
"user,id=user.0", "-name", "openstack", "-drive",
"file=openstack/openstack.qcow2,if=virtio", "-boot", "once=d"}
2014/10/27 10:21:41 packer-builder-qemu: 2014/10/27 10:21:41 Started
Qemu. Pid: 2618
2014/10/27 10:21:41 packer-builder-qemu: 2014/10/27 10:21:41 Qemu
stderr: qemu-system-x86_64: -m 1024m: Parameter 'size' expects a size
==> qemu: Error launching VM: Qemu failed to start. Please run with logs
to get more info.
---snap---
2014-10-27 10:34:41 +01:00
Seth Vargo 67fad6c429 Add metadata description to all pages + include "Packer" for SEO 2014-10-22 17:41:53 -04:00
Seth Vargo 0800ebfe7a Use formatting helpers and labeled code blocks 2014-10-22 17:41:53 -04:00
Josh Frye 1e2cb36735 Add all boot commands from source to docs. 2014-10-14 15:45:34 -07:00
Vasiliy Tolstov 8efc8ec984 add ability to set cache mode for disk
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-06 01:09:45 +04:00
Hiroyuki Sato c650f6f6af Fix typo 2014-09-12 23:28:10 +09:00
Hiroyuki Sato 64a709e7be Update document about qemu builder for [GH-1407].
https://github.com/mitchellh/packer/pull/1407
2014-09-12 23:14:55 +09:00
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
2014-09-02 09:31:53 -07:00
Mitchell Hashimoto 88c186df39 Merge branch 'master' of github.com:matthbak/packer into matthbak-master
Conflicts:
	builder/qemu/step_run.go
2014-09-02 09:24:31 -07:00
RH Becker e3015d7fe1 Add `page_title` attribute to each documentation file for which it didn't already exist, matching the value to each page's h1, respectively. 2014-08-21 17:41:35 -07:00
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.
2014-08-05 22:46:47 +02:00
Aaron Brady ddd794c38e Update QEMU builder documentation with `disk_image` flag 2014-07-17 15:30:54 +01:00
Andreas Kohn baa9fb9b76 Update the kickstart link
Instead of pointing at a specific (in this case actually non-working!) revision, point to the github UI for the
head revision.
The user is expected to find the 'raw' link there, but the page allows to also quickly look at changes etc, which
might be helpful for people unfamiliar with kickstart files.
2014-06-20 14:16:35 +02:00
Andreas Kohn 792c8ac964 Improve the boot command sequence
Use a single command line, avoid the graphical installer, and use {{ .HTTPIP }} rather than the actual IP.
Also wait a bit before entering the commands to increase the chance of actually being in the boot menu.
2014-06-20 14:14:15 +02:00
Andreas Kohn 2eafb03f16 Update to CentOS 6.5 2014-06-20 14:13:53 +02:00
Ross Smith II d666b64fb8 website: alphabetized configuration options, added missing ones, standardized text 2014-05-04 10:47:56 -07:00
Ross Smith II e422d45f92 Allow wildcards and directories for floppy_files parameter 2014-04-29 12:27:34 -07:00
Mitchell Hashimoto c71e06e800 website: update to be a little more clear [GH-933] 2014-03-12 21:12:14 -07:00