Hi guys,
I'm a new to foreman. I used to use spacewalk for a long time, trying to 
find a better solution for our company.

I was trying to set up a demo box with foreman & isc dhcpd on centos 7.3.
I followed the docs (
http://projects.theforeman.org/projects/smart-proxy/wiki/ISC_DHCP)
I added proxy feature, keys, dhcp network in foreman etc.
Foreman says that dhcp feature is up and running.
Docs say I need to start up dhcpd, which doesn't make any sense for me 
since I didn't configure any nets directly in /etc/dhcpd/dhcpd.conf, I 
assume foreman has to do that?
Here's is config files:

dhcpd.conf:
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.example
#   see dhcpd.conf(5) man page
#
omapi-port 7911;
key omapi_key {
algorithm HMAC-MD5;
secret 
"mmaA9cCfrl+KjQVQwbSQfN/LAyok58Kbb9Y4XrOs9UoK7j8ePYIGyDcNAWnDYFmdRgaEahs94rdAo4B9IyV6pA==";
 
#<-The output from the generated key above.
};
omapi-key omapi_key;


[root@foreman settings.d]# cat dhcp.yml
---
# Enable DHCP management
# Can be true, false, or http/https to enable just one of the protocols
:enabled: true

# valid providers:
#   - dhcp_isc (ISC dhcp server)
#   - dhcp_native_ms (Microsoft native implementation)
#   - dhcp_libvirt (dnsmasq via libvirt)
:use_provider: dhcp_isc
:server: 127.0.0.1
# subnets restricts the subnets queried to a subset, to reduce the query 
time.
:subnets:
  - 192.168.56.0/255.255.255.0
#  - 192.168.205.128/255.255.255.128

[root@foreman settings.d]# cat dhcp_isc.yml
---
#
# Configuration file for ISC dhcp provider
#

:config: /etc/dhcp/dhcpd.conf
:leases: /var/lib/dhcpd/dhcpd.leases

:key_name: omapi_key
:key_secret: 
mmaA9cCfrl+KjQVQwbSQfN/LAyok58Kbb9Y4XrOs9UoK7j8ePYIGyDcNAWnDYFmdRgaEahs94rdAo4B9IyV6pA==


:omapi_port: 7911

# use :server setting in dhcp.yml if you are managing a dhcp server which 
is not localhost


Will be happy to hear any suggestions. 
Happy weekend!

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to