|
@@ -17,17 +17,16 @@ class NetworkConfig
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @param string $driver Subnet. By default 172.172.172.0/16
|
|
|
- * @param string $gateway Gateway. By default 172.172.172.1
|
|
|
+ * @param string $driver Subnet. By default 172.172.172.0/24
|
|
|
* @return NetworkConfig Return this object.
|
|
|
*/
|
|
|
- public function addSubnetGateway($subnet = '172.172.172.0/16', $gateway = '172.172.172.1')
|
|
|
+ public function addSubnetGateway($subnet = '172.172.172.0/24')
|
|
|
{
|
|
|
if (!isset($this->config['config'])) {
|
|
|
$this->config['config'] = [];
|
|
|
}
|
|
|
$this->config['config'][] = array('subnet' => $subnet);
|
|
|
- $this->config['config'][] = array('gateway' => $gateway);
|
|
|
+// $this->config['config'][] = array('gateway' => $gateway);
|
|
|
return $this;
|
|
|
}
|
|
|
|