Commit Graph

139 Commits

Author SHA1 Message Date
Matthew Baker 9220d644d1 Making graphics and hardware virtualisation optional and configurable 2014-08-06 02:43:38 -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
Matthew Baker c87c88fce2 OEL available net device 2014-07-29 07:41:07 -07:00
Matthew Baker 0d07960f3e Disabling SDL gui mode 2014-07-29 07:40:29 -07:00
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.
2014-07-17 15:05:46 +01:00
Jakob A. Dam 40150c376d Fix http_files typo in comments 2014-05-06 17:13:15 +02:00
Mitchell Hashimoto fa339fc275 get more proper SSH package usage in 2014-04-26 11:23:26 -07:00
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
2014-04-26 11:12:06 -07:00
higebu f087ce16dc Fix the build problem by updating ssh package 2014-04-15 10:17:26 +09:00
Ross Smith II 27491f93f8 use old ssh code until higebu's branch is ready, see #1019 2014-04-11 08:23:12 -07:00
Stefano Zanella 85dcdcfead builder/qemu: support user templates in SSH key path 2014-02-27 18:37:44 +01:00
Mitchell Hashimoto 868a64ebbc fmt 2014-02-21 16:48:30 -08:00
Mitchell Hashimoto 0fd7bdd3f5 builder/qemu: style 2014-02-21 15:22:58 -08:00
Mitchell Hashimoto 1b23af2667 Merge pull request #854 from qur/qemu-config-binary
builder/qemu: binary name to be configured
2014-02-21 15:22:27 -08:00
Mitchell Hashimoto d2fe49d6a2 builder/qemu: document run_once is gone (but keep it around for compat) 2014-02-21 15:18:03 -08:00
mheidenr cfb9b4d65d enable qemu builder to handle reboots in the shell provisioner 2014-01-30 08:46:54 +01:00
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.
2014-01-24 18:01:42 +00:00
Mitchell Hashimoto 430963f400 fmt 2014-01-19 19:30:11 -08:00
Myles Steinhauser 28286d2821 Fix tabs vs spaces 2014-01-13 00:03:10 -05:00
Myles Steinhauser e4cfcb2a8a Add more special scancodes 2014-01-10 12:40:43 -05:00
Mitchell Hashimoto 80c2f0fcd0 Merge pull request #690 from TranscendComputing/master
builder/qemu: added template processing for QemuArgs, floppy_files for auto-building f...
2013-12-12 14:46:08 -08:00
Thomas D. Hite 08f5131746 Added template processing for QemuArgs, floppy_files for auto-building floppies which attach to the VM at startup, and run_once flag to trigger just one powerup/powerdown. 2013-12-06 18:20:25 -06:00
Phil Fenstermacher c4ae11589d Changed error message and docs to match code - qemu-img options are qcow2 and raw 2013-12-04 14:05:07 -05:00
Mitchell Hashimoto 636e647c45 builder/qemu: set proper HTTPIP for boot command [GH-597] 2013-11-05 22:05:56 -08:00
Mitchell Hashimoto 5ededd527a builder/qemu: catch early exits of qemu 2013-11-05 22:03:43 -08:00
Mitchell Hashimoto 170e2459ff builder/qemu: remove constructor, more Go-like 2013-11-05 21:43:20 -08:00
Mitchell Hashimoto 3bc0c4aa25 builder/qemu: simplify driver, make things more Go-like 2013-11-05 21:40:49 -08:00
Mitchell Hashimoto d78787e182 builder/qemu: remove floppy support, not used currently 2013-11-05 18:11:38 -08:00
Mitchell Hashimoto 07e5a85bab builder/qemu: log VM output 2013-11-05 17:59:09 -08:00
Mitchell Hashimoto b75a2935f3 builder/qemu: unnecssary log 2013-11-05 17:48:52 -08:00
Mitchell Hashimoto 385a338354 builder/qemu: get rid of unnecessary step 2013-11-05 17:48:16 -08:00
Mitchell Hashimoto e982eb38dc builder/qemu: alphabetize some things 2013-11-05 17:47:22 -08:00
Mitchell Hashimoto e44aea496d builder/qemu: passing tests 2013-11-05 15:44:38 -08:00
Tom Hite 5e9b035031 Fixes #3 via minor documentation fix and setting default properly (in the net_device template value, virtio is incorrect -- must be virtio-net). 2013-10-09 07:11:10 -05:00
Tom Hite 2f8f2d5ad1 Fixes #1 and Fixes #2 by allowing qemuargs to operate and override defaults. 2013-10-07 20:58:08 -05:00
Tom Hite ba1ca4d2fb changed error string referring to 'ova' and 'ovf' to refer to 'qcow2' and 'img' as the former were stray leftovers from the virtualbox code used as a basis for this plugin. 2013-09-03 20:13:45 -05:00
Tom Hite 29557f36f1 removed a few stray 'VirtualBox' term uses in comments and docs. 2013-09-03 18:13:05 -05:00
Tom Hite d58a209b73 added network and disk driver options, also a source comment on the kickstart file in the docs (I can't find the original source). 2013-09-03 10:08:04 -05:00
Tom Hite 30d004022e Initial checkin to GitHub -- has extensive changes to conform to the latest API model to match the 0.3.6 (Sept. 2, 2013) release. 2013-09-02 22:23:52 -05:00