|
@@ -51,13 +51,14 @@ class Kea extends InitialService
|
|
|
if ($this->getProduction() === false) {
|
|
|
$this->getComposer()->service($module)
|
|
|
->build("./$module/1.4.0/kea-ik")
|
|
|
- ->addVolumes("./kea/conf/kea-ctrl-agent.conf", "/usr/local/etc/kea/kea-ctrl-agent.conf")
|
|
|
- ->addVolumes("./kea/conf/kea-dhcp4.conf", "/usr/local/etc/kea/kea-dhcp4.conf")
|
|
|
->addVolumes("./kea/supervisord", "/etc/supervisord")
|
|
|
->addVolumes("./kea/hooks", "/opt/hooks");
|
|
|
}
|
|
|
$this->getComposer()->service($module)
|
|
|
->addVolumes(Dhcp::DHCP_KEA_VOLUMEN, "/opt/kea/conf")
|
|
|
+ ->addVolumes("./tftpboot", "/tftpboot")
|
|
|
+ ->addVolumes("./kea/conf/kea-ctrl-agent.conf", "/usr/local/etc/kea/kea-ctrl-agent.conf")
|
|
|
+ ->addVolumes("./kea/conf/kea-dhcp4.conf", "/usr/local/etc/kea/kea-dhcp4.conf")
|
|
|
->network($this->getRelease()->_network_name)->ipv4_address($this->generateIP($this->ip_server));
|
|
|
$this->getRelease()->writeVariablesEnviroment($module . "." . $host_env_file, $module,
|
|
|
array(
|