diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index 0a6421d..8b8a6bd 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -27,7 +27,7 @@ service: dnsmasq.service: enabled: false - running: [% is_mgmt && bootenv.dhcp.enable == 'yes' ? 'true' : 'false' %] + running: [% is_mgmt && node_state == 'active' && bootenv.dhcp.enable == 'yes' ? 'true' : 'false' %] haproxy.service: enabled: false