Browse Source

try to disable autostart

andre 4 years ago
parent
commit
14830674f0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Jobs/Cloud/CloneQemuJob.php

+ 2 - 0
app/Jobs/Cloud/CloneQemuJob.php

@@ -142,6 +142,8 @@ class CloneQemuJob extends BaseJob
             if($this->configuration()->getBwLimit()){
             if($this->configuration()->getBwLimit()){
                 $container['bwlimit'] = $this->configuration()->getBwLimit();
                 $container['bwlimit'] = $this->configuration()->getBwLimit();
             }
             }
+            //no start
+            $container['start'] = 0;
             //Create
             //Create
             $template = new Kvm($templateNode, $templateVmid);
             $template = new Kvm($templateNode, $templateVmid);
             $template->setApi($this->api());
             $template->setApi($this->api());