Commit Graph

28 Commits

Author SHA1 Message Date
Marko Mahnič
30498d8258 Add a new setting HostSshPort
A XenServer host may accept SSH connections on port other than
22. This commit adds a packer option 'remote_ssh_port' to connect
to a custom port.
2024-01-17 06:49:43 -08:00
Arden Shackelford
84a3a2389a
Adding a few more config items to docs; Adjusting compile script to be consistent; 2024-01-09 20:33:52 -06:00
Dom Del Nano
dac47c649b Fix tests
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
2023-07-07 07:59:05 -07:00
Heinrich Kruger
5c090071a9 Allow tagging VMs
(cherry picked from commit 4200795cf0)
2023-04-15 16:00:27 -07:00
Dom Del Nano
2fe14d14ac Update XVA builder to use shared StepCreateInstance step 2023-04-15 15:33:08 -07:00
Heinrich Kruger
0bb70e8957 Update XVA builder to match ISO builder 2023-04-14 21:16:31 -07:00
Heinrich Kruger
17c58e8d24 Enable xva builder to create VM from existing template 2023-04-14 21:16:31 -07:00
somerandomqaguy
c49d4ebf12 Capture actual errors from Prepare
Solves TestBuilderPrepare_InvalidKey failing, since we weren't capturing
it's errors before.
2023-04-06 23:12:25 -07:00
somerandomqaguy
880d12c66f Get the tests compiling again.
Looks like the consts got moved into common
2023-04-06 23:12:25 -07:00
Daniel Koschützki
9d066f31d1 Ran the migrator tool from hashicorp and fixed all resulting compile errors 2021-02-23 23:54:28 +01:00
Dom Del Nano
906728b229 Upgrade packer and ensure that provisioners work 2021-01-13 22:15:33 -08:00
Dom Del Nano
3d078501fd Upgrade packer to v1.6.5 2021-01-03 14:08:24 -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 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 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
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
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
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
Robert Breker
52fa3fe1b5 gofmt -w -s .
Signed-off-by: Robert Breker <robert.breker@citrix.com>
2015-05-18 15:13:02 +00:00
Jonas Kongslund
82d2a412ab Added VM description field 2015-05-06 06:25:12 +04: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
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
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
1539688cb8 Update tests 2015-01-02 16:55:44 +00:00
Cheng Sun
462082bee8 Initial work on XVA import 2015-01-02 15:11:27 +00:00
Cheng Sun
152bdee7f2 Initial work on splitting ISO and XVA builders
Compiles -- but xva create_instance is incomplete

Several changes were rolled into this commit, including:

- "export_format" is now "format", and "keep_instance" is "keep_vm"
- gox is used for building (with the intention of allowing
  cross-compilation in the future)
2014-12-31 16:09:23 +00:00