Kwan Lowe wrote:
On Mon, Jul 20, 2009 at 5:56 PM, Carlos Santana <neubyr@gmail.com mailto:neubyr@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:
- On a host machine, download the CentOS DVD to some location on the
machine.
Install the vsftpd package.
mkdir /var/ftp/centos_5.3_x86
mount -o loop /path/to/CentOS-5.3-i386-bin-DVD.iso
/var/ftp/centos_5.3_x86
service vsftpd start
Edit your kickstart url to point to the location above: url --url
ftp://192.168.8.65/pub/centos_5.3_x86
Copy the kickstart file to /var/ftp/pub/kickstart001.ks
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.
On the VMWare server, set the boot.iso as the CD ROM image.
Boot the target server. When the grub prompt appears: linux
ks=ftp://192.168.8.65/pub/kickstart001.ks
- Sit back :)
CentOS mailing list CentOS@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