diff --git a/src/sunstone/public/js/plugins/images-tab.js b/src/sunstone/public/js/plugins/images-tab.js index 78a23a84f1..8f5f7c57d8 100644 --- a/src/sunstone/public/js/plugins/images-tab.js +++ b/src/sunstone/public/js/plugins/images-tab.js @@ -95,6 +95,11 @@ var create_image_tmpl = \
Type of disk device to emulate.
\ \ +
\ + \ + \ +
Specific image mapping driver. KVM: raw, qcow2 and Xen:tap:aio:, file:
\ +
\ \
\
\ @@ -783,6 +788,10 @@ function setupCreateImageDialog(){ var bus = $('#img_bus',this).val(); img_json["BUS"] = bus; + var driver = $('#img_driver',this).val(); + if (driver.length) + img_json["DRIVER"] = driver; + switch ($('#src_path_select input:checked',this).val()){ case "path": path = $('#img_path',this).val();