www.centos.org Forum Index CentOS 5 - General Support %include in kickstart
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Re: %include in kickstart | #2 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2010/1/28
From University of the Free State - South Africa
Posts: 27
|
Hi jnojr,
I think that the %include tags are interpreted before the initialisation of the chroot environment, that is used inside the %pre and %post sections. This means that the paths of the files should be the paths on the "server" and not the path on the host where it is being installed. Or you should use a web URL of the "text" files to include. |
||
Posted on: 2012/4/17 20:48
|
|||
|
Re: %include in kickstart | #3 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2007/11/29
From Reston, VA
Posts: 54
|
Quote:
I do believe they are parsed before the kickstart is actually run. But that doesn't help me to understand why they the %include lines will not see files which do exist and are readable. I can %include a file on the DVD in %pre, before there is a filesystem to chroot to, but if I copy the file to /tmp (which is a ramdisk, but that shouldn't really matter) it can no longer be "seen", and the kickstart bombs out. |
||
Posted on: 2012/4/25 16:25
|
|||
|
Re: %include in kickstart | #4 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2007/11/29
From Reston, VA
Posts: 54
|
Anyone?
|
||
Posted on: 2012/5/3 16:51
|
|||
|
Re: %include in kickstart | #5 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Quote:
I don't use kickstart much but can't understand why what you describe should not work; however, perhaps you are not getting more help because: 1. This forum is for CentOS and not RHEL. 2. 5.4 is extremely obsolete and thus unsupported. CentOS 5.8 is the current version, and RHEL is at the same release level. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/5/3 21:56
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
jnojr





You cannot start a new topic.
You can view topic.