Browse Source

try to fix the detailed view

andre 4 years ago
parent
commit
2ac6768f45
1 changed files with 18 additions and 0 deletions
  1. 18 0
      app/UI/VmUpdate/Providers/VmUpdateProvider.php

+ 18 - 0
app/UI/VmUpdate/Providers/VmUpdateProvider.php

@@ -171,8 +171,26 @@ class VmUpdateProvider extends VmCreateProvider
             if(version_compare($this->api()->getVersion(), "6.3", '>=') && !empty($order)){
                 //order=scsi0;ide0;ide1;net0
                 $vm->updateConfig(['boot' => "order=".implode(";", $order)]);
+
+                logModuleCall(
+                    'proxmoxCloud',
+                    __FUNCTION__,
+                    $this->formData,
+                    'Debug',
+                    $order
+                );
+                
             }else{
                 $vm->changeBootOrder($bootOrder);
+
+                logModuleCall(
+                    'proxmoxCloud',
+                    __FUNCTION__,
+                    $this->formData,
+                    'Debug',
+                    $order
+                );
+                
             }
             //sshkeys
             if($this->configuration()->isPermissionSshkeys()){