I want to use foreman to deploy my machines using official repositories. I find very little information on the way to do it.
I am on an AD domain with a Windows DHCP / DNS. I want to integrate the deployment and provisioning of CentOS and Debian machines with Foreman. Can you help me and teach me? I helped myself to this post and the link given but as I understand it, this plugins is no longer maintained.
PS: I use Foreman and plugins v1.23 on one debian stretch.
Hello and welcome to the community. First of all, get Foreman installed. There are two possible scenarios - with and without Katello plugin. In your case I suggest to install without Katello. Head over to our documentation how to do that.
Now, there are many workflows you can achieve with Foreman, but it’s best in network booting installers. In that case you need to enable TFTP and DHCP services in the installer. You can run it multiple times it’s puppet-based:
Similarly you can enable DNS service to manage domains. By default the installer will install ISC DHCP and BIND. Foreman supports managing Microsoft DHCP and DNS, in that case you need to deploy smart-proxy on Windows manually as our instsaller is Linux-based only - look for dns_dnscmd and dhcp_native_ms in our docs. Unfortunately, docs is sparse on this topic.
Documentation about provisioning is lacking in our official docs, we are currently building new docs and here is a work in progress version which should help you:
Thank you for your answer. I read the document but I can’t install the smart-proxy for my DHCP on Windows 2012.
Do you have information above because all that I find on the forums is outdated and I can not adapt.
I just want to keep my DHCP Windows and provision / deploy vms with foreman using DHCP already in production.