private boolean checkGLAcceleration(String currentValue, boolean isArm) throws ConsoleException{
String value = currentValue.toLowerCase();
- if (value.equals("true")) {
+ if (value.equals("yes")) {
if (isArm) {
System.out.println("If base disk image is arm, 'GLAcceleration' value is always false.");
System.out.println("So this value set false.");
} else {
return true;
}
- } else if (value.equals("false")) {
+ } else if (value.equals("no")) {
return false;
} else {
throw new ConsoleException("Please, check your input (" + currentValue + ") "
private boolean checkHWVirtualization(String currentValue, boolean isArm) throws ConsoleException {
String value = currentValue.toLowerCase();
- if (value.equals("true")) {
+ if (value.equals("yes")) {
if (isArm) {
System.out.println("If base disk image is arm, 'HWVirtualization' value is always false.");
System.out.println("So this value set false.");
} else {
return true;
}
- } else if (value.equals("false")) {
+ } else if (value.equals("no")) {
return false;
} else {
throw new ConsoleException("Please, check your input (" + currentValue + ") "
class DisplayResolution extends StringArrayResource
{
- private static RESOLUTION[] minResoultion = {RESOLUTION.WVGA, RESOLUTION.QHD, RESOLUTION.HD};
+ private static RESOLUTION[] minResoultion = {RESOLUTION.WVGA, RESOLUTION.HD};
private static DisplayResolution resolution = new DisplayResolution();
public static DisplayResolution getInstance()