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
Cheng Sun
72fb12ab28
Update README for new example
2015-01-02 16:55:43 +00:00
Cheng Sun
1cf49992fa
Update example
2015-01-02 16:55:43 +00:00
Cheng Sun
22cf62c614
Initial docs
2015-01-02 16:55:43 +00:00
Cheng Sun
16f8c25d84
Fix shutdown_command bug
...
Fixes the somewhat embarrassing bug where the shutdown_command would be
run on the host rather than the guest.
This commit also rejigs things so that it is easier to do SSH commands
on either the host or the guest
2015-01-02 16:55:43 +00:00
Cheng Sun
d2b7f3a7d8
Add build dirs to gitignore
2015-01-02 16:55:43 +00:00
Cheng Sun
27819cd51f
Find local IP automatically
2015-01-02 16:55:43 +00:00
Cheng Sun
d619e751e3
Update README build instructions
2015-01-02 16:55:43 +00:00
Cheng Sun
f0149fa495
Update build script
...
Adapted from Packer's build script
2015-01-02 16:55:43 +00:00
Cheng Sun
fc03c2010f
Workaround xapi bug in Task.GetResult
...
xapi currently sends us an xmlrpc-encoded string via xmlrpc.
This seems to be a bug. Remove this workaround when it's fixed
2015-01-02 16:55:43 +00:00
Cheng Sun
0cb3aff4e8
Fix Task.GetErrorInfo typecast crash
2015-01-02 16:55:43 +00:00
Cheng Sun
201a9be4a8
Set default VM name to packer-BUILDNAME-TIMESTAMP
2015-01-02 16:55:43 +00:00
Cheng Sun
cd1875019d
Prefix remote_ for all host config
2015-01-02 15:11:27 +00:00
Cheng Sun
462082bee8
Initial work on XVA import
2015-01-02 15:11:27 +00:00
Cheng Sun
396a8de131
Add task GetResult method
2015-01-02 15:11:23 +00:00
Cheng Sun
4efd1029a2
Abstract out http PUT
2014-12-31 16:09:23 +00:00
Cheng Sun
2ce67b0465
Rename logIteration
2014-12-31 16:09:23 +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
Cheng Sun
4c4ba3026b
Add builder config test
...
Borrowed from virtualbox builder test
2014-12-29 18:12:01 +00:00
Cheng Sun
216eb2aab5
Fix enum types
2014-12-29 18:12:01 +00:00
Rob Dobson
29f79d24de
Merge pull request #9 from chengsun/master
...
ISO upload, floppy and tools support, compatibility fixes
2014-12-19 17:05:44 +00:00
Cheng Sun
30c4c8001f
Don't explicitly remove ISOs in step_remove_devices
2014-12-19 14:10:59 +00:00
Cheng Sun
b9a7feb225
Rename instance_memory to vm_memory
...
Note that vm_memory is now in MB; instance_memory was in bytes
SetStaticMemoryRange now takes int64
Fixed example
2014-12-19 12:50:23 +00:00
Cheng Sun
2e1f94e831
Rename instance_name to vm_name
...
Fixed example
2014-12-19 12:50:22 +00:00
Cheng Sun
987a5ac55e
Rename root_disk_size to disk_size
...
CreateVdi now takes an integer size
Note that disk_size is now in MB; root_disk_size was in bytes
Fixed example
2014-12-19 12:50:22 +00:00
Cheng Sun
e308c0759f
VDI upload, floppy and tools support
...
This commit add new VDI steps named step_{attach,detach,find,upload}_vdi
- attach/detach are self-explanatory; can specify CD or Floppy
- find finds a VDI by name-label and stores the uuid
- upload uploads a VDI from a local disk image and stores the uuid
In order to demonstrate the new VDI code, this commit trivially adds:
- support for uploading ISOs again (dependent on unmerged XAPI patch)
- initial floppy upload/attach support (dependent on currently-broken
XAPI patch)
- initial XenServer Tools support
2014-12-19 12:46:36 +00:00
Cheng Sun
313f5a7354
Add Task class to xapi client
2014-12-19 12:43:58 +00:00
Cheng Sun
5cb0a0955b
Add Floppy ConnectVdi type
2014-12-18 16:08:52 +00:00
Cheng Sun
31acbe6508
Fix error message typo
2014-12-17 18:48:19 +00:00