Commit Graph

238 Commits

Author SHA1 Message Date
Dom Del Nano
0b9fe164da Fix unreleated typo in the README 2020-12-27 21:55:22 -08:00
Dom Del Nano
1e5b636649 Update the docs to point to the builder's official binaries 2020-12-27 21:52:52 -08:00
Dom Del Nano
03cabedd06 Specify the correct main.go file 2020-12-27 21:41:42 -08:00
Dom Del Nano
e0a4a0b514 Remove go mod tidy changes and add dist file to gitignore 2020-12-27 21:28:47 -08:00
Dom Del Nano
3f14bb9924 Add goreleaser config file 2020-12-27 21:23:29 -08:00
Dom Del Nano
cdb9300ac1
Merge pull request #1 from ddelnano/build-the-packer-plugin
Get the packer builder compiling and ensure that it can create terraform compatible VM templates
2020-12-27 21:16:29 -08:00
Dom Del Nano
eeb66603eb Update docs to reflect current state of the project 2020-12-22 14:57:16 -08:00
Dom Del Nano
404e5a0c4a Remove binary from repo 2020-12-22 14:28:35 -08:00
Dom Del Nano
b2a858fe0f Ensure that SRs are set via the config file and fix other todos 2020-12-22 14:27:02 -08:00
Dom Del Nano
70adca2259 Add support for setting final VM as template and remove hard coding of SR 2020-12-22 12:17:42 -08:00
Dom Del Nano
d258626c85 Fix issues with typing the boot command over VNC and ensure that centos VMs can run kickstarter (albeit with errors) 2020-12-15 23:17:27 -08:00
Dom Del Nano
1221794f0a Get plugin building and mostly working 2020-09-13 01:22:59 -07:00
zheng
aff02b798a
Merge pull request #100 from xenserver/private/zhengc/CA-335005
Add options to configure vCPU numbers for XVA builders also.
2020-03-25 17:32:04 +08:00
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