Friday, December 12, 2008

Making a custom Fedora CD

In this lab I've used a tool called 'pungi' to create Fedora custom spin.

The first step is to install pungi, so on the command line issue the command:
#yum install pungi -y

I used this kickstart file for lab:

repo --name=release --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=$basearch
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9&arch=$basearch

%packages --nobase
bash
kernel
passwd
policycoreutils
chkconfig
authconfig
rootfiles
anaconda-runtime

%end


Once you have the kickstart file, from command line you can issue the command:
#pungi -c NameofKickstart.cfg --nosource --force --ver=F9

This command will create a ISO image form that file. You can burn the image and try it out or you can even use the 'qeum' to test it first.

No comments: