Difference between revisions of "Cobbler"
(New page: == Overview == Cobbler, is a PXE based provisioning system developed by fedora, and is powered by awesome. == Quickstart == Install dhcpd and cobbler yum install dhcp cobbler cman b...) |
(→Quickstart) |
||
Line 46: | Line 46: | ||
ddns-update-style none; | ddns-update-style none; | ||
ignore client-updates; | ignore client-updates; | ||
− | |||
subnet 10.10.14.0 netmask 255.255.255.0 { | subnet 10.10.14.0 netmask 255.255.255.0 { | ||
authoritative; | authoritative; | ||
option routers 10.10.14.1; | option routers 10.10.14.1; | ||
option subnet-mask 255.255.255.0; | option subnet-mask 255.255.255.0; | ||
− | |||
option domain-name "int.progllc.com"; | option domain-name "int.progllc.com"; | ||
option domain-name-servers 10.10.14.1; | option domain-name-servers 10.10.14.1; | ||
− | |||
option time-offset -18000; # Eastern Standard Time | option time-offset -18000; # Eastern Standard Time | ||
option ntp-servers 10.10.14.1; | option ntp-servers 10.10.14.1; |
Revision as of 11:53, 7 January 2009
Overview
Cobbler, is a PXE based provisioning system developed by fedora, and is powered by awesome.
Quickstart
Install dhcpd and cobbler
yum install dhcp cobbler cman
basic checks
cobbler check
edit configs
vim /etc/cobbler/settings
default_password_crypted: <change to something else> manage_dhcp: 1 next_server: 10.10.14.9 register_new_installs: 1 server: 10.10.14.9
vim /etc/cobbler/modules.conf
[authentication] module = authn_configfile [authorization] module = authz_allowall
Enable TFTP
setup system services toggle tftp
Clear firewall rules
/etc/init.d/iptables stop
Do your default dhcpd config
vim /etc/cobbler/dhcp.template
ddns-update-style none; ignore client-updates; subnet 10.10.14.0 netmask 255.255.255.0 {
authoritative; option routers 10.10.14.1; option subnet-mask 255.255.255.0; option domain-name "int.progllc.com"; option domain-name-servers 10.10.14.1; option time-offset -18000; # Eastern Standard Time option ntp-servers 10.10.14.1; range 10.10.14.200 10.10.14.250; default-lease-time 21600; max-lease-time 43200;
}
start dhcpd
/etc/init.d/dhcpd start
start cobbler
/etc/init.d/cobblerd start
Add repos, Grab DVD iso and mount via -o loop somewhere
cobbler import --name=CentOS-5.2-i386 --path=/root/ISO/1
Access the web page, set up your systems, and test it
http://10.10.14.200/cobbler/web/