Commit Graph

16 Commits

Author SHA1 Message Date
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
2591ae8226 Add ssh_port config 2015-01-02 18:20:54 +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
27819cd51f Find local IP automatically 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