Commit Graph

175 Commits

Author SHA1 Message Date
zheng chai
c7ac4898ed Add options to configure vCPU numbers for XVA builders also.
Signed-off-by: zheng chai <zheng.chai@citrix.com>
2020-03-24 23:21:35 +08:00
Rob Dobson
5e1f8571d6 Merge pull request #90 from michael2012z/master
Add options to configure the number of VCPUs.
2017-10-18 10:11:40 +01:00
Michael Zhao
10270c90a0 Fix comments: remove redundant default setting of cores-per-socket. 2017-10-18 01:14:47 -07:00
Michael Zhao
5a206f2d2c Fix gofmt error. 2017-10-12 03:02:04 -07:00
Michael Zhao
191ac47af3 Add options to configure the number of VCPUs. 2017-10-12 00:14:23 -07:00
Rob Dobson
5e44cd6434 Merge pull request #78 from tinkerborg/fix-pool-ssh
Fix SSH handling in pool environment.
2017-04-06 17:46:59 +01:00
Rob King
4e5b3bee63 Fix SSH handling in pool environment.
This adds a new build step executed after StepStartVmPaused. This sets
the "ssh_address" state variable to the IP of the host the VM was started on.
This enables SSH commands to work correctly in a pool environment.

This also modifies SSH calls to use this address rather than config.HostIp

Fixes #47
2017-02-02 03:13:23 -05:00
Rob Dobson
3a7e051b80 Merge pull request #75 from makunterry/CP-19741
CP-19741: Change network config for VPXs (WLB, XCM and DLVM) from "Bo…
2016-11-17 16:04:13 +00:00
Kun Ma
bb008cd2c9 CP-19741: Change network config for VPXs (WLB, XCM and DLVM) from "Bond 0+1" to "Pool-wide network associated with eth0"
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2016-11-17 23:39:05 +08:00
Rob Dobson
3531171bc4 Merge pull request #59 from makunterry/CP-19292
CP-19292: added an option for "format" to export compressed xva
2016-10-21 11:44:17 +01:00
Kun Ma
b51f3e3ae0 CP-19292: added an option for "format" to export compressed xva
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2016-10-21 18:14:52 +08:00
Rob Dobson
ee5af0d185 Merge pull request #57 from makunterry/CP-18791
CP-18791: Make appliance-specs building stable
2016-10-11 17:00:03 +01:00
Kun Ma
2a9073838e CP-18791: Make appliance-specs building stable
Signed-off-by: Kun Ma <kun.ma@citrix.com>
2016-10-10 17:39:52 +08:00
Rob Dobson
92efcc520b Merge pull request #55 from hcoyote/master
references to rdobson should be xenserver
2016-09-20 15:41:01 +01:00
Travis Campbell
a21eb6c932 references to rdobson should be xenserver
github paths should reference the xenserver url, not rdobson.
2016-09-07 15:12:16 -05:00
Rob Dobson
b90edcc3c2 Merge pull request #54 from makunterry/CP-18743
CP-18743: refine type of NetworkNames & remove unused code
2016-09-05 13:43:21 +01:00
kunm
f79980553f CP-18743: refine type of NetworkNames & remove unused code
Signed-off-by: kunm <kun.ma@citrix.com>
2016-09-05 17:05:44 +08:00
Rob Dobson
fe921b417d Merge pull request #51 from makunterry/CP-18743
CP-18743: Make packer-build-xenserver support VIF configuration
2016-09-02 16:20:46 +01:00
kunm
d1de461cdb CP-18743: Make packer-build-xenserver support VIF configuration
Signed-off-by: kunm <kun.ma@citrix.com>
2016-09-02 23:15:34 +08:00
kunm
2183cb5869 Merge pull request #1 from xenserver/master
merge from xenserver/master
2016-09-01 16:47:54 +08:00
Rob Dobson
2bad924ff0 Merge pull request #44 from makunterry/master
CP-18646: Make packer-build-xenserver support other-config for vm pac…
2016-09-01 09:44:21 +01:00
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