Is done in: https://github.com/schmto/nmsprime/blob/dev/modules/ProvBase/Install/after_install.sh
# install yum install dhcpd # copy default config cp /var/www/nmsprime/modules/ProvBase/Install/files/dhcpd.conf /etc/dhcp/ # create folders mkdir /etc/dhcp/nms mkdir /etc/dhcp/nms/cmts_gws # permissions chown -R apache /etc/dhcp/nms /etc/dhcp/dhcpd.conf chmod o+rx /etc/dhcp/ # nms prime: create dhcp server config php artisan nms:dhcp # start systemctl start dhcpd