|
|
@@ -278,17 +278,8 @@ 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()
|
|
|
-);
|
|
|
-
|
|
|
+// $this->vmModel->cpuunits = $this->configuration()->serverCpuunit->min;
|
|
|
+ $this->vmModel->cpuunits = $this->formData['vcpu'];
|
|
|
}
|
|
|
//swap
|
|
|
if( !$this->configuration()->isPermissionSwap() ){
|