RE: RE: Copying files from the cd under %post?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since you are using kickstart, I assume your network is set up correctly on
the client machine.

You can copy files from CD yourserver , and  server that directory by a web
server, then you can use wget to download any 
files from, or use rpm to install pkgs directly from the web server.

Yiping

-----Original Message-----
From: Steve M Bibayoff [mailto:smb23@xxxxxxxxxxxxx]
Sent: Thursday, July 26, 2001 4:55 PM
To: kickstart-list@xxxxxxxxxx; " <kickstart-list@xxxxxxxxxx>"@redhat.com
Subject: Re: RE: Copying files from the cd under %post?


"Taylor, ForrestX" <forrestx.taylor@xxxxxxxxx> wrote:

> No, you cannot do it in a chrooted environment.  If you are using 
> Redhat 7.1
> (possibly 7.0?) you can have both a  %post  and a  %post --nochroot
> section.  I have never been able to get Redhat 6.2 to do both.  The 
> CD is
> mounted under /mnt/source (in the non-chroot env).  You cannot 
> mount it in
> two places at once {unless you use the --bind option in mount--
> which can
> only be done on Redhat 7.1}.  You have to use the --nochroot 
> option.  I
> tried in 6.2 to --nochroot, and then  chroot /mnt/sysimage  but I 
> couldnever get that to work (possibly chroot wasn't available?).

I was afraid of that, not being able to do it in a chroot'ed enviroment.
No big problem, just have to rewrite most of my %post scripts. Unless
someone has figured out a way to do it ;) .

And yes, this is RH 7.0, so I can't use the --bind option.


Steve




_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux