From Atomicorp Wiki
Jump to: navigation, search

[edit] Overview

Cobbler, is a PXE based provisioning system developed by fedora, and is powered by awesome.

[edit] Quickstart

Install dhcpd and cobbler

 yum install dhcp cobbler cman syslinux

basic checks

 cobbler check

edit configs

vim /etc/cobbler/settings

 default_password_crypted: <change to something else>
 manage_dhcp: 1
 register_new_installs: 1

vim /etc/cobbler/modules.conf

 module = authn_configfile
 module = authz_allowall

Enable TFTP

   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 netmask {
   option routers;
   option subnet-mask;
   option domain-name		"";
   option domain-name-servers;
   option time-offset		-18000;	# Eastern Standard Time
   option ntp-servers;
   default-lease-time 21600;
   max-lease-time 43200;

Sync the configs (this creates the dhcp.conf used next)

 cobbler sync

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
Personal tools