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