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 47c06e8252
commit 5950d37e9f
1 changed files with 1 additions and 0 deletions

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");