Commit Graph

  • fc03c2010f Workaround xapi bug in Task.GetResult Cheng Sun 2015-01-02 12:55:34 +0000
  • 0cb3aff4e8 Fix Task.GetErrorInfo typecast crash Cheng Sun 2015-01-02 12:55:13 +0000
  • 201a9be4a8 Set default VM name to packer-BUILDNAME-TIMESTAMP Cheng Sun 2014-12-31 17:26:27 +0000
  • cd1875019d Prefix remote_ for all host config Cheng Sun 2014-12-31 17:09:14 +0000
  • 462082bee8 Initial work on XVA import Cheng Sun 2014-12-31 15:21:54 +0000
  • 396a8de131 Add task GetResult method Cheng Sun 2014-12-31 16:29:13 +0000
  • 4efd1029a2 Abstract out http PUT Cheng Sun 2014-12-31 15:21:15 +0000
  • 2ce67b0465 Rename logIteration Cheng Sun 2014-12-31 14:29:09 +0000
  • 152bdee7f2 Initial work on splitting ISO and XVA builders Cheng Sun 2014-12-29 12:46:54 +0000
  • 4c4ba3026b Add builder config test Cheng Sun 2014-12-22 17:11:43 +0000
  • 216eb2aab5 Fix enum types Cheng Sun 2014-12-22 14:16:21 +0000
  • 29f79d24de Merge pull request #9 from chengsun/master Rob Dobson 2014-12-19 17:05:44 +0000
  • 30c4c8001f Don't explicitly remove ISOs in step_remove_devices Cheng Sun 2014-12-19 14:10:29 +0000
  • b9a7feb225 Rename instance_memory to vm_memory Cheng Sun 2014-12-18 17:26:10 +0000
  • 2e1f94e831 Rename instance_name to vm_name Cheng Sun 2014-12-18 17:20:51 +0000
  • 987a5ac55e Rename root_disk_size to disk_size Cheng Sun 2014-12-18 17:10:17 +0000
  • e308c0759f VDI upload, floppy and tools support Cheng Sun 2014-12-17 18:45:25 +0000
  • 313f5a7354 Add Task class to xapi client Cheng Sun 2014-12-18 16:04:44 +0000
  • 5cb0a0955b Add Floppy ConnectVdi type Cheng Sun 2014-12-15 15:27:22 +0000
  • 31acbe6508 Fix error message typo Cheng Sun 2014-12-17 17:59:26 +0000
  • f101aa8511 step_start_vm_paused: cleanup forces VM shutdown Cheng Sun 2014-12-17 16:11:22 +0000
  • b67b96c82a Merge pull request #8 from chengsun/master Rob Dobson 2014-12-15 21:45:03 +0000
  • 2a4ce52eaa Abstract out GetSR Cheng Sun 2014-12-15 14:17:20 +0000
  • b73cbc1230 Be less verbose when waiting for install to complete Cheng Sun 2014-12-15 14:39:20 +0000
  • b7081f238f Check for error in downloading exported XVA/VDI Cheng Sun 2014-12-15 12:15:27 +0000
  • dfa9d63097 Always fetch a new VM instance from UUID for consistency Cheng Sun 2014-12-15 11:18:57 +0000
  • 5e87812ecf Split step_remove_devices out of step_wait Cheng Sun 2014-12-15 11:07:52 +0000
  • c392b5499e interruptible_wait: check for interruption immediately Cheng Sun 2014-12-12 16:11:26 +0000
  • 03e3a7ad85 Fix xva export query string Cheng Sun 2014-12-12 10:40:12 +0000
  • c27e845d1a Add optional shutdown_command parameter Cheng Sun 2014-12-12 10:32:46 +0000
  • 6df01a0f40 Reduce VNC typing delay Cheng Sun 2014-12-12 10:18:11 +0000
  • 41c5930cde Check for empty iso name Cheng Sun 2014-12-11 16:31:57 +0000
  • c2c133c605 Add Name to template for boot command Cheng Sun 2014-12-11 16:27:33 +0000
  • 85e3b00e5a Merge pull request #7 from chengsun/master Rob Dobson 2014-12-11 18:20:13 +0000
  • 971ab83376 Fix comment typo Cheng Sun 2014-12-11 14:31:22 +0000
  • 13ca6ef95b export_format: allow export format to be configured Cheng Sun 2014-12-11 14:30:39 +0000
  • 322817e827 Fix export UUID Cheng Sun 2014-12-11 14:19:28 +0000
  • 783eee0a39 Add user variables to template processor Cheng Sun 2014-12-11 12:26:45 +0000
  • 6180bd1ca5 Add keep_instance to example config Cheng Sun 2014-12-10 18:32:27 +0000
  • b433754c83 Factor out common port-finding code Cheng Sun 2014-12-10 14:18:18 +0000
  • 602255e9c1 Add keep_instance parameter Cheng Sun 2014-12-10 11:04:09 +0000
  • 97ca6d5cab Also close listener connection when port forwarding fails Cheng Sun 2014-12-10 12:31:02 +0000
  • 649798b4ac Separate config defaults from validation Cheng Sun 2014-12-10 11:22:31 +0000
  • a9fb6532ae Improve HIMN IP-finding error handling Cheng Sun 2014-12-10 10:41:59 +0000
  • 25a2200f50 Merge pull request #6 from chengsun/master Rob Dobson 2014-12-10 10:29:25 +0000
  • 4cd0fcf288 example config: explicitly state units in install_timeout Cheng Sun 2014-12-10 10:25:08 +0000
  • ca80e009db Fix typo Cheng Sun 2014-12-09 18:38:59 +0000
  • 490ff260c2 Update README to link to centos example directly Cheng Sun 2014-12-10 10:14:18 +0000
  • 97df6fd283 Close SSH connections once we're done with them Cheng Sun 2014-12-09 17:44:21 +0000
  • 1450fd0568 Clean up VM instance and root VDI Cheng Sun 2014-12-09 16:40:32 +0000
  • acd16bb984 Make HIMN IP finding and ping interruptible Cheng Sun 2014-12-09 14:56:42 +0000
  • c75b4555cc Make boot_wait interruptible Cheng Sun 2014-12-09 14:56:21 +0000
  • ba7c5ddcd2 interruptible_wait: allow nil Predicate Cheng Sun 2014-12-09 14:55:35 +0000
  • 651274e508 interruptible_wait: evaluate Predicate immediately Cheng Sun 2014-12-09 14:50:44 +0000
  • 94dcf160df Don't close session twice Cheng Sun 2014-12-09 14:17:47 +0000
  • 8a41cc693a Add more error handling Cheng Sun 2014-12-09 14:02:48 +0000
  • 70e57a2d66 Add error handling to step_wait Cheng Sun 2014-12-09 11:47:07 +0000
  • c88168f4ba Replace all Fatal calls with Error calls Cheng Sun 2014-12-09 11:27:31 +0000
  • efbc365b6d fmt step_wait, interruptible_wait Cheng Sun 2014-12-09 11:17:35 +0000
  • cadf3a5d6a Add install_timeout to stop build if step_wait takes too long Cheng Sun 2014-12-08 17:49:07 +0000
  • 1dd963278f Add generic interruptible wait method Cheng Sun 2014-12-09 10:42:16 +0000
  • d9757f2c38 Revert "Add a pause to ensure SSH has a chance to start. This is a tempoary workaround for the fact that the SSH tunnel code will cause packer to halt if the destination does not exist." Cheng Sun 2014-12-08 18:20:37 +0000
  • 6071be1572 Don't create Artifact if there were errors Cheng Sun 2014-12-08 18:18:23 +0000
  • 50403a3ed6 Merge pull request #5 from chengsun/master Rob Dobson 2014-12-08 18:34:55 +0000
  • 1de826270c Capitalise SSHWaitTimeout for consistency Cheng Sun 2014-12-08 16:12:18 +0000
  • ee0d6d38e0 Replace reflect with type assertion Cheng Sun 2014-12-08 16:01:12 +0000
  • e6e8855da4 Use log.Printf instead of log.Fatalf Cheng Sun 2014-12-08 15:41:28 +0000
  • bf92b3abff Update README to reflect increased disk size Cheng Sun 2014-12-08 15:39:21 +0000
  • 91c1326bc4 Cosmetic: fix typo in log message Cheng Sun 2014-12-08 15:37:16 +0000
  • 2dbe047d45 Cosmetic: go fmt Cheng Sun 2014-12-08 15:34:48 +0000
  • 538966204c Merge branch 'examples' Rob Dobson 2014-11-24 18:18:18 +0000
  • fd35d7c984 Add a pause to ensure SSH has a chance to start. This is a tempoary workaround for the fact that the SSH tunnel code will cause packer to halt if the destination does not exist. Rob Dobson 2014-11-24 18:16:56 +0000
  • 68ccc25108 Merge pull request #4 from rdobson/examples Rob Dobson 2014-11-21 18:11:53 +0000
  • d48d46306f Increase the disk size as LVM sometimes complains. examples Rob Dobson 2014-11-21 18:11:36 +0000
  • d0746481e7 Updating example file and README. Rob Dobson 2014-11-21 17:49:20 +0000
  • 8bf2609a7f Adding static memory config to the template. Rob Dobson 2014-11-21 13:48:57 +0000
  • 4dd435dafe Adding defaults for Clone template, Network and Storage to avoid having to configure it in the packer file. Rob Dobson 2014-11-21 13:39:25 +0000
  • e69f739d19 Merge pull request #3 from rdobson/defaults Rob Dobson 2014-11-21 17:32:42 +0000
  • 1daab4ef1a Adding static memory config to the template. defaults Rob Dobson 2014-11-21 13:48:57 +0000
  • 74cfea407d Adding defaults for Clone template, Network and Storage to avoid having to configure it in the packer file. Rob Dobson 2014-11-21 13:39:25 +0000
  • 4746a397be Merge pull request #1 from rdobson/himn Rob Dobson 2014-11-20 18:57:59 +0000
  • 6538c248fd Add a wait for the VM to boot properly. himn Rob Dobson 2014-11-20 18:54:23 +0000
  • d64357bc71 Skip the uploading ISO step for the moment until it is fully implemented. Rob Dobson 2014-11-20 18:53:05 +0000
  • d0dd202829 Remove old file. Rob Dobson 2014-11-18 18:49:22 +0000
  • 269ec2f3c9 Switch to using a combination of the GetVNCPort step and the ForwardPortOverSSH step. Rob Dobson 2014-11-18 18:49:02 +0000
  • 16a8be4fb0 Reduce the VNC port step to just obtaining the correct port number. Use the port forward step to simplify the code. Rob Dobson 2014-11-18 18:47:50 +0000
  • b61adffc01 Remove the sleep. Rob Dobson 2014-11-18 18:47:08 +0000
  • bc3d792341 Adding extra messaging. Rob Dobson 2014-11-18 18:46:49 +0000
  • f40ab554c0 Use the Host Internal Management interface to retrieve an instances IP as opposed to relying on the tools being installed. Rob Dobson 2014-11-18 18:18:39 +0000
  • 6216e2fa95 Use an environment variable to find where paker is located. Rob Dobson 2014-11-14 18:27:10 +0000
  • 4d961011fa Fix invalid cast. Rob Dobson 2014-11-14 18:25:22 +0000
  • f282a95bf8 Including fatal log of API error description. Rob Dobson 2014-11-14 18:25:01 +0000
  • dd6494b9e8 Adding example packer config file and kick-starter file. (Note: currently the xs-tools RPMs are a dependency). Rob Dobson 2014-11-10 18:32:25 +0000
  • 4093b3d8a0 Adding initial README Rob Dobson 2014-11-10 18:20:39 +0000
  • 4d634aaf70 Initial plugin for building XenServer images using Packer.IO Rob Dobson 2014-11-10 18:16:02 +0000
  • 56820d268c Adding initial barebones for the xenserver packer plugin. Rob Dobson 2014-11-05 09:35:34 +0000