浏览代码

#6 fix hosts file

Guillermo Espinoza 5 年之前
父节点
当前提交
6eb89f7614
共有 1 个文件被更改,包括 14 次插入14 次删除
  1. 14 14
      tools/src/ReleaseImages.php

+ 14 - 14
tools/src/ReleaseImages.php

@@ -574,20 +574,20 @@ class ReleaseImages extends Command
             $contents .= "{$ip} {$module}\n";
         }
 
-        $modules = [
-            new Base(),
-            new Ftth(),
-            new Cablemodem(),
-            new Stats(),
-            new Dhcp(),
-            new Radius(),
-        ];
-        foreach ($modules as $module) {
-            if ($this->isModuleAvailable($module)) {
-                $domain = $this->getDomain(($module)->getModuleName());
-                $contents .= "{$this->public_ip} {$domain}\n";
-            }
-        }
+        // $modules = [
+        //     new Base(),
+        //     new Ftth(),
+        //     new Cablemodem(),
+        //     new Stats(),
+        //     new Dhcp(),
+        //     new Radius(),
+        // ];
+        // foreach ($modules as $module) {
+        //     if ($this->isModuleAvailable($module)) {
+        //         $domain = $this->getDomain(($module)->getModuleName());
+        //         $contents .= "{$this->public_ip} {$domain}\n";
+        //     }
+        // }
 
         file_put_contents($path . "/hosts", $contents);
     }