Re: %include syntax and usage

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

 



Jesse, that's interesting approach. I have actually tried using wget but I get the error that wget is not a known command. I usually do not use a %pre section. Where should I put the wget? In the %post? Don't I need to declare packages before the %post section?

Robert Denton
Network Administrator
Headsprout
800.401.5062 x1305
www.headsprout.com

On Sep 13, 2006, at 6:54 PM, Jesse Keating wrote:

On Wednesday 13 September 2006 18:38, Robert Denton wrote:
Right, I see what you mean about the documentation.  I would love for
one of the maintainers of kickstart to pipe in regarding how to use
include in kickstart scripts.  Where does the "/path/to/file" need to
live in order for the install to see it.  That is very confusing.

The path is relative to the file system on the system being installed. I
generate them in %pre to dump to /tmp/packages (since that's writable
memdisk), or wget them to /tmp/packages so my %include
is %include /tmp/packages.

Think of it like this, once you've started the install, go to tty2 where you would get a shell, and that file system would be where your file needs to
live.

--
Jesse Keating RHCE      (geek.j2solutions.net)
Fedora Legacy Team      (www.fedoralegacy.org)
GPG Public Key (geek.j2solutions.net/ jkeating.j2solutions.pub)
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.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