Commit Graph

254 Commits

Author SHA1 Message Date
Rob Dobson
ad1a44fbf7 Merge pull request #46 from jonludlam/eject-at-end-2
Eject floppy and installation ISO after the VM has been provisioned.
2016-08-26 15:04:06 +01:00
Jon Ludlam
f6978fb5ae Eject floppy and installation ISO after the VM has been provisioned.
To work around an issue in the PV drivers for Windows, the floppy and
installation ISO were removed before restarting the guest. This was due
to the drivers bluescreening on a failed assert of the presence of a
floppy disk.

Now that behaviour has been fixed, the builder should behave in the
expected way, and not introduce an extra shutdown/restart.

Signed-off-by: Rob Dobson rob.dobson@citrix.com
Reapplied-by: Jon Ludlam <jonathan.ludlam@citrix.com>
2016-08-26 14:17:45 +01:00
kunm
b1f0013d8c CP-18646: Make packer-build-xenserver support other-config for vm packing
Signed-off-by: kunm <kun.ma@citrix.com>
2016-08-23 11:55:38 +08:00
Rob Dobson
923079e683 Update README.md with the correct xenserver/packer-builder-xenserver badges. 2016-08-22 13:44:30 +01:00
Rob Dobson
c64f6973c4 Merge pull request #41 from phusl/rebase
Rebase and use local xe to export xva
2016-07-15 18:20:59 +01:00
Phus Lu
059707af53 gofmt -s -w .
Signed-off-by: Phus Lu <phus.lu@citrix.com>
2016-07-15 09:55:04 -07:00
Phus Lu
a850d3d4f0 Rebase and add USE_XE option to xva export
Signed-off-by: Phus Lu <phus.lu@citrix.com>
2016-07-15 09:54:23 -07:00
Phus Lu
addd20360c Add Godeps
Signed-off-by: Phus Lu <phus.lu@citrix.com>
2016-07-15 09:44:41 -07:00
Rob Dobson
6ca049e86c Merge pull request #35 from rdobson/rebase
Refactoring to build with upstream core packer
2015-07-31 17:25:42 +01:00
Rob Dobson
636def983b Merge pull request #30 from robertbreker/fix-travis-icon
Fix travis build badge
2015-06-22 16:55:20 +01:00
Rob Dobson
aa0bbcae25 Add the missing Prepare call for the SSHConfig step.
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
2015-06-22 16:49:52 +01:00
Rob Dobson
2369b76a42 Adding ssh_config.go
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
2015-06-22 11:49:48 +01:00
Rob Dobson
75290051a1 Fixing the go release to 1.2
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
2015-06-22 11:32:21 +01:00
Rob Dobson
351fdbba9d Refactoring to work with upstream packer changes around templates and SSH connect.
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
2015-06-22 11:17:20 +01:00
Rob Dobson
274d86cdc6 Merge pull request #32 from rdobson/port_race
Fixing race condition between port test and attempting to listen.
2015-05-22 10:24:01 +01:00
Rob Dobson
437b4a3037 Passing the local_listener through to avoid a race with someone else picking up the port.
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
2015-05-21 16:52:54 +01:00
Robert Breker
87d91752f3 Fix travis build badge
Signed-off-by: Robert Breker <robert.breker@citrix.com>
2015-05-18 19:31:29 +00:00
Rob Dobson
e4f94fcc21 Merge pull request #29 from robertbreker/add-travis-ci
Add Travis CI support.
2015-05-18 17:20:58 +01:00
Robert Breker
116eff17bc Add Travis CI including a check for gofmt -s
Attempt building with both go1 and the currrent go release, to ensure
compatibility.

Signed-off-by: Robert Breker <robert.breker@citrix.com>
2015-05-18 15:23:33 +00:00
Robert Breker
52fa3fe1b5 gofmt -w -s .
Signed-off-by: Robert Breker <robert.breker@citrix.com>
2015-05-18 15:13:02 +00:00
Rob Dobson
db43b42ef7 Merge pull request #27 from kongslund/vm-description
Added VM description field
2015-05-18 15:19:20 +01:00
Jonas Kongslund
82d2a412ab Added VM description field 2015-05-06 06:25:12 +04:00
Rob Dobson
945e6d6a3d Merge pull request #28 from rdobson/disable_http_ip
Adding an override for selecting how we obtain an IP for the created VM
2015-05-05 10:57:17 +01:00
Rob Dobson
0ab61566e2 Merge pull request #23 from rdobson/6.x-support
Adding XenServer 6.x support
2015-05-05 10:56:49 +01:00
Rob Dobson
a135a74946 Adding an override for selecting how we obtain an IP for the created VM. In particular this helps disable HTTP snooping where the installers IP may differ from the IP obtained on firstboot.
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
2015-04-27 18:14:20 +01:00
Rob Dobson
a0e9c97c89 Adding legacy support for exporting VDI's as VHDs using the Transfer VM.
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
2015-04-27 18:11:40 +01:00
Rob Dobson
d63518195d Re-adding support for bypassing ISO upload and just using and attaching one already present on an available SR.
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
2015-04-27 18:11:40 +01:00
Rob Dobson
37433bc022 Merge pull request #26 from cullman/master
Some tweaks to make it work with the current version of github.com/xense...
2015-04-17 20:22:13 +01:00
Cayce Ullman
388d48cfde Some tweaks to make it work with the current version of github.com/xenserver/go-xenserver-client. 2015-04-16 15:37:46 -05:00
Rob Dobson
0855aab927 Merge pull request #25 from rdobson/remove_client
Pulling out the client library and importing it from upstream
2015-03-17 15:49:40 +00:00
Rob Dobson
7f52133218 Pulling out the client library and importing it from upstream: xenserver/go-xenserver-client.
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
2015-03-13 13:23:20 +00:00
Rob Dobson
4b8ec79cad Merge pull request #22 from jonludlam/vhdexport
Add the ability to export VHD files
2015-02-20 17:03:07 +00:00
Jon Ludlam
35c4ccc7c2 Add the ability to export VHD files
Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
2015-02-20 11:28:59 +00:00
Rob Dobson
c27273524a Merge pull request #11 from chengsun/master
Tidying things up
2015-01-07 18:40:44 +00:00
Cheng Sun
fed2a44f04 Update CentOS to reboot instead of poweroff 2015-01-07 17:05:33 +00:00
Cheng Sun
7dbd2d8f68 Update README.md 2015-01-07 16:27:59 +00:00
Cheng Sun
fc40d56b73 Add cross-compile instructions 2015-01-07 15:41:34 +00:00
Cheng Sun
fc6c922f47 Add 'none' option to 'format' 2015-01-07 10:40:01 +00:00
Cheng Sun
422028bb3c Fix Shutdown step message 2015-01-06 14:02:00 +00:00
Cheng Sun
0407989de8 Remove floppy before provision
Workaround for Windows Tools floppy BSOD
2015-01-06 14:02:00 +00:00
Cheng Sun
c2e3cc9756 Set correct boot order 2015-01-06 14:02:00 +00:00
Cheng Sun
dffeca1181 Update README: NAT no longer required 2015-01-06 14:02:00 +00:00
Cheng Sun
6ef9b70500 Try getting IP if reported by PV drivers 2015-01-06 14:02:00 +00:00
Cheng Sun
176c4ad7a3 IP snooping 2015-01-05 17:28:42 +00:00
Cheng Sun
6ffa99d624 Split shutdown and export, and detach VBDs in between 2015-01-05 17:28:41 +00:00
Cheng Sun
d1e6bb66a9 Skip typing step if there is nothing to type 2015-01-05 17:28:41 +00:00
Cheng Sun
10469ac3e0 Document keep_vm parameter 2015-01-05 15:01:47 +00:00
Rob Dobson
36f10c7dc1 Merge pull request #10 from chengsun/master
Split ISO and XVA builders, add documentation
2015-01-05 12:26:58 +00:00
Cheng Sun
2591ae8226 Add ssh_port config 2015-01-02 18:20:54 +00:00
Cheng Sun
1539688cb8 Update tests 2015-01-02 16:55:44 +00:00