andre 4 лет назад
Родитель
Сommit
5ff1ddd550
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      app/UI/VmCreate/Providers/VmCreateProvider.php

+ 10 - 0
app/UI/VmCreate/Providers/VmCreateProvider.php

@@ -279,6 +279,16 @@ class VmCreateProvider extends BaseModelDataProvider implements ClientArea
         //cpuunits
         if( !$this->configuration()->isPermissionCpuunits() && !$this->formData['cpuPriority']){
             $this->vmModel->cpuunits = $this->configuration()->serverCpuunit->min;
+//            $this->vmModel->cpuunits = $this->formData['vCPU'];
+
+logModuleCall(
+    'proxmoxCloud',
+    __FUNCTION__,
+    $this->formData,
+    'Debug',
+    $this->configuration()
+);
+
         }
         //swap
         if( !$this->configuration()->isPermissionSwap() ){