<br><br><div class="gmail_quote">On Mon, Jul 20, 2009 at 5:56 PM, Carlos Santana <span dir="ltr"><<a href="mailto:neubyr@gmail.com">neubyr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I am working on a kickstart install method and it works fine with<br>
cdrom as installation media. I would like change this media to an<br>
online resource. I saw option as - 'url --url http://<server>/<dir>'.<br>
I am not sure what should be the directory contents? Should we put all<br>
ISOs in that directory or what? Any insights?<br></blockquote></div><br>Based on your original post, it seems that you want to install a system via the network versus from a CD boot disk, correct?<br><br>If so, here's how I do it:<br>
<br>1) On a host machine, download the CentOS DVD to some location on the machine.<br><br>2) Install the vsftpd package.<br><br>3) mkdir /var/ftp/centos_5.3_x86<br><br>4) mount -o loop /path/to/CentOS-5.3-i386-bin-DVD.iso /var/ftp/centos_5.3_x86<br>
<br>5) service vsftpd start<br><br>6) Edit your kickstart url to point to the location above: url --url <a href="ftp://192.168.8.65/pub/centos_5.3_x86">ftp://192.168.8.65/pub/centos_5.3_x86</a><br><br>7) Copy the kickstart file to /var/ftp/pub/kickstart001.ks<br>
<br>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.<br>
<br>8) On the VMWare server, set the boot.iso as the CD ROM image.<br><br>9) Boot the target server. When the grub prompt appears: linux ks=<a href="ftp://192.168.8.65/pub/kickstart001.ks">ftp://192.168.8.65/pub/kickstart001.ks</a><br>
<br>10) Sit back :)<br><br>