Skip to content

Commit 8843062

Browse files
set usevddk enable by default in the API
1 parent b4acbc3 commit 8843062

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

api/src/main/java/org/apache/cloudstack/api/command/admin/vm/ImportVmCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public Long getStoragePoolId() {
264264
}
265265

266266
public boolean getUseVddk() {
267-
return BooleanUtils.toBooleanDefaultIfNull(useVddk, false);
267+
return BooleanUtils.toBooleanDefaultIfNull(useVddk, true);
268268
}
269269

270270
public String getTmpPath() {

ui/src/views/tools/ImportUnmanagedInstance.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,7 @@ export default {
12961296
params.forceconverttopool = true
12971297
params.forcemstoimportvmfiles = false
12981298
} else {
1299+
params.usevddk = false
12991300
params.forcemstoimportvmfiles = values.forcemstoimportvmfiles
13001301
}
13011302
if (!values.usevddk && values.forceconverttopool) {

0 commit comments

Comments
 (0)