CLOUDSTACK-4649

use the same virtual hardware platform in XS 6.2 as that in XS 6.0.2
This commit is contained in:
Anthony Xu 2013-09-11 17:16:25 -07:00
parent 60e0873a93
commit 1510139f15

View File

@ -160,6 +160,7 @@ public class XenServer56FP1Resource extends XenServer56Resource {
VM template = templates.iterator().next();
VM.Record vmr = template.getRecord(conn);
vmr.platform.remove("device_id");
vmr.affinity = host;
vmr.otherConfig.remove("disks");
vmr.otherConfig.remove("default_template");