          case 'custom':
            _selectCustom(dialog);
            break;
-@@ -366,6 +371,15 @@ define(function(require) {
-       return false;
-     }
- 
+@@ -266,6 +271,14 @@
+     vcenter_adapter_type      = vcenter_adapter_type == "custom" ? $('input[name="custom_vcenter_adapter_type"]', dialog).val() : vcenter_adapter_type;
+     var vcenter_disk_type     = $('#vcenter_disk_type', dialog).val();
+     vcenter_disk_type         = vcenter_disk_type == "custom" ? $('input[name="custom_vcenter_disk_type"]', dialog).val() : vcenter_disk_type;
 +    var sp_replication  = $('#sp_replication', dialog).val();
 +    var sp_placeall     = $('#sp_placeall', dialog).val();
 +    var sp_placetail    = $('#sp_placetail', dialog).val();
 +    var sp_replication  = $('#sp_replication', dialog).val();
 +    var sp_api_http_host = $('#sp_api_http_host', dialog).val();
 +    var sp_api_http_port = $('#sp_api_http_port', dialog).val();
-+    var sp_auth_token   = $('#sp_auth_toke', dialog).val();
++    var sp_auth_token   = $('#sp_auth_token', dialog).val();
 +    var sp_system       = $('#sp_system', dialog).val();
-+
      var ds_obj = {
        "datastore" : {
-         "datastore_raw" : template
-@@ -373,6 +387,27 @@ define(function(require) {
-       "cluster_id" : cluster_id
-     };
+         "name" : name,
+@@ -353,6 +366,31 @@
+     if (vcenter_disk_type)
+         ds_obj.datastore.disk_type = vcenter_disk_type;
  
 +    if (sp_replication)
 +        ds_obj.datastore.sp_replication = sp_replication;

+    </div>
   </div>
 </form>
--- app/tabs/datastores-tab/form-panels/create.js.~1~	2016-06-15 17:26:25.000000000 +0300
+++ app/tabs/datastores-tab/form-panels/create.js	2016-06-15 18:23:22.929380045 +0300
@@ -219,6 +219,11 @@ define(function(require) {
           _selectISCSI(dialog);
           break;
         

--- app/tabs/datastores-tab/form-panels/create/wizard.hbs.~1~	2016-06-24 10:55:28.000000000 +0000
+++ app/tabs/datastores-tab/form-panels/create/wizard.hbs	2016-07-15 08:52:53.580390152 +0000
@@ -33,6 +33,7 @@
         <option ds="fs" tm="lvm" value="lvm">{{tr "LVM"}}</option>
         <option ds="dev" tm="dev" value="raw">{{tr "Raw Device Mapping"}}</option>
