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? Thanks, CS.
Carlos Santana 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?If you do http then I believe you just need all of the CDs extracted to that location, what I do is mount each cd and then rsync it's contents to the directory. If you use NFS then I believe you can point to a directory that has ISO files, though I haven't done that in years. nate
On Mon, Jul 20, 2009 at 5:56 PM, Carlos Santana <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 ksftp://192.168.8.65/pub/kickstart001.ks 10) Sit back :) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090720/acbf1bae/attachment-0003.html>
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