Browse Source

disable iso selection field

andre 4 years ago
parent
commit
b81a669b79
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/UI/VmCreate/Fields/OsTemplateSelect.php

+ 2 - 2
app/UI/VmCreate/Fields/OsTemplateSelect.php

@@ -25,13 +25,13 @@ class OsTemplateSelect extends Select implements ClientArea
         {
             $this->loadQemuTemplates();
 
-            if ($advancedUser->isAdvanced() || $this->configuration()->isPermissionIsoImage())
+/*            if ($advancedUser->isAdvanced() || $this->configuration()->isPermissionIsoImage())
             {
                 $this->availableValues[] = [
                     "key"   => 'installationFromIso',
                     "value" => sl('lang')->abtr('Installation From ISO'),
                 ];
-            }
+            } */
             if($this->availableValues[0]['key']=="installationFromIso"){
                 $this->callBackFunction = 'pcOsTemplateLoadShowIsoFields';
             }