Merge pull request #1 from xenserver/master
merge from xenserver/master
This commit is contained in:
commit
2183cb5869
@ -1,4 +1,4 @@
|
|||||||
[](https://travis-ci.org/rdobson/packer-builder-xenserver)
|
[](https://travis-ci.org/xenserver/packer-builder-xenserver)
|
||||||
|
|
||||||
# XenServer packer.io builder
|
# XenServer packer.io builder
|
||||||
|
|
||||||
|
@ -304,26 +304,17 @@ func (self *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (pa
|
|||||||
SSHConfig: xscommon.SSHConfigFunc(self.config.CommonConfig.SSHConfig),
|
SSHConfig: xscommon.SSHConfigFunc(self.config.CommonConfig.SSHConfig),
|
||||||
SSHPort: xscommon.SSHPort,
|
SSHPort: xscommon.SSHPort,
|
||||||
},
|
},
|
||||||
new(xscommon.StepShutdown),
|
|
||||||
&xscommon.StepDetachVdi{
|
|
||||||
VdiUuidKey: "floppy_vdi_uuid",
|
|
||||||
},
|
|
||||||
&xscommon.StepDetachVdi{
|
|
||||||
VdiUuidKey: "iso_vdi_uuid",
|
|
||||||
},
|
|
||||||
new(xscommon.StepStartVmPaused),
|
|
||||||
new(xscommon.StepBootWait),
|
|
||||||
&communicator.StepConnectSSH{
|
|
||||||
Config: &self.config.SSHConfig.Comm,
|
|
||||||
Host: xscommon.CommHost,
|
|
||||||
SSHConfig: xscommon.SSHConfigFunc(self.config.CommonConfig.SSHConfig),
|
|
||||||
SSHPort: xscommon.SSHPort,
|
|
||||||
},
|
|
||||||
new(common.StepProvision),
|
new(common.StepProvision),
|
||||||
new(xscommon.StepShutdown),
|
new(xscommon.StepShutdown),
|
||||||
|
&xscommon.StepDetachVdi{
|
||||||
|
VdiUuidKey: "iso_vdi_uuid",
|
||||||
|
},
|
||||||
&xscommon.StepDetachVdi{
|
&xscommon.StepDetachVdi{
|
||||||
VdiUuidKey: "tools_vdi_uuid",
|
VdiUuidKey: "tools_vdi_uuid",
|
||||||
},
|
},
|
||||||
|
&xscommon.StepDetachVdi{
|
||||||
|
VdiUuidKey: "floppy_vdi_uuid",
|
||||||
|
},
|
||||||
new(xscommon.StepExport),
|
new(xscommon.StepExport),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user