}
if (image != null) {
- property = new VMPropertyValue(image, image.getPlatform().getTemplate());
+// property = new VMPropertyValue(image, image.getPlatform().getTemplate());
+ property = new VMPropertyValue(image);
} else {
throw new ConsoleException("There not avaliable custom platform.");
}
+ "Base Image ID Platform: " + image.getPlatformName()
+ "Platform: " + property.baseImage.getPathName());
} else {
- property = new VMPropertyValue(image, image.getPlatform().getTemplate());
+// property = new VMPropertyValue(image, image.getPlatform().getTemplate());
+ property = new VMPropertyValue(image);
}
break;
}
+ "Base Image ID Platform: " + image.getPlatformName()
+ "Platform: " + property.baseImage.getPathName());
} else {
- property = new VMPropertyValue(image, image.getPlatform().getTemplate());
+// property = new VMPropertyValue(image, image.getPlatform().getTemplate());
+ property = new VMPropertyValue(image);
}
}
}
private VMPropertyValue(){} // for clone
+ public VMPropertyValue(BaseImage image) {
+ this(image, image.getDefaultProperty());
+ }
+
public VMPropertyValue(BaseImage image, VMProperty template) {
this.baseImage = image;
this.template = template;