|
@@ -45,8 +45,8 @@ class BaseKea implements KeaConfigInterface
|
|
|
'arguments' => array(
|
|
|
'Dhcp4' => [
|
|
|
'control-socket' => $this->controlSocketConfig(),
|
|
|
- 'lease-database' =>$this->leaseDatabaseConfig(),
|
|
|
- 'hosts-database' =>$this->leaseDatabaseConfig(),
|
|
|
+ 'lease-database' => $this->leaseDatabaseConfig(),
|
|
|
+ 'hosts-database' => $this->leaseDatabaseConfig(),
|
|
|
'subnet4' => $this->subnet4,
|
|
|
'hooks-libraries' => $this->hooks_libraries,
|
|
|
'interfaces-config' => $this->getInterfacesConfig(),
|
|
@@ -185,11 +185,11 @@ class BaseKea implements KeaConfigInterface
|
|
|
{
|
|
|
if ($type == 'mysql') {
|
|
|
$config = array(
|
|
|
- "host": "mysql",
|
|
|
- "name": "kea",
|
|
|
- "user": "root",
|
|
|
- "password": getenv('MYSQL_ROOT_PASSWORD'),
|
|
|
- "type": "mysql",
|
|
|
+ "host" => "mysql",
|
|
|
+ "name" => "kea",
|
|
|
+ "user" => "root",
|
|
|
+ "password" => getenv('MYSQL_ROOT_PASSWORD'),
|
|
|
+ "type" => "mysql",
|
|
|
);
|
|
|
} elseif ($type == 'memfile') {
|
|
|
$config = array(
|