Kwan Lowe wrote: > > > On Mon, Jul 20, 2009 at 5:56 PM, Carlos Santana <neubyr at gmail.com > <mailto:neubyr at gmail.com>> wrote: > > Hi, > > I am working on a kickstart install method and it works fine with > cdrom as installation media. I would like change this media to an > online resource. I saw option as - 'url --url http://<server>/<dir>'. > I am not sure what should be the directory contents? Should we put all > ISOs in that directory or what? Any insights? > > > Based on your original post, it seems that you want to install a > system via the network versus from a CD boot disk, correct? > > If so, here's how I do it: > > 1) On a host machine, download the CentOS DVD to some location on the > machine. > > 2) Install the vsftpd package. > > 3) mkdir /var/ftp/centos_5.3_x86 > > 4) mount -o loop /path/to/CentOS-5.3-i386-bin-DVD.iso > /var/ftp/centos_5.3_x86 > > 5) service vsftpd start > > 6) Edit your kickstart url to point to the location above: url --url > ftp://192.168.8.65/pub/centos_5.3_x86 > > 7) Copy the kickstart file to /var/ftp/pub/kickstart001.ks > > 7) From a web browser or ftp client, retrieve the boot.iso file from > the host machine in the Images directory. Or you can just cd to the > /var/ftp/centos_5.3_x86 directory on the host machine and copy the > boot.iso from there to your VMWare server. > > 8) On the VMWare server, set the boot.iso as the CD ROM image. > > 9) Boot the target server. When the grub prompt appears: linux > ks=ftp://192.168.8.65/pub/kickstart001.ks > > 10) Sit back :) > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > This method will work another option I'd recommend is checking out MREPO. As this enables you to maintain your own copy of repositories as well as setting up your own custom ones. http://dag.wieers.com/home-made/mrepo/ Other options are things like https://fedorahosted.org/cobbler/ http://wiki.centos.org/HowTos/PackageManagement/Spacewalk