Variables in the %include and repo lines

Michael Hayes M <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <2C4B4AE6B69DF14FACF9B568E586EA8F3775E0E4CC@ESESSCMS0359.eemea.ericsson.se>
Hi,

Just wondering if anyone can help me here.

I'm writing a modular kickstart. I have a large number of machines to install, but I'm only responsible for the base install, other groups configure their apps etc

So, I've defined a repo as

repo --name ${inst_type} --baseurl=file:///tmp/APP/${inst_type}/packages

and an include of a package list as

%include /tmp/APP/${inst_type}/${config}/packages.inc



In the %pre section, I source the inst_type and config variables with:

cat /tmp/eric_mnt/kickstart/${HOSTNAME}/${HOSTNAME}_installation_param_details | sed 's/^/export /g' > /tmp/params.cfg
source /tmp/params.cfg

And that works as I use them in the pre section for other things as well.

The problem is that the install just stops, sometime after the pre scripts are run, about when I'd expect it to start installing the base packages, without giving me an error I can understand.

But, if I hard code those variables into the %include and repo lines, the build completes.

Can anyone tell me if variables are not allowed in either the %include or repo lines?

Thanks

Mike

_______________________________________________
Kickstart-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kickstart-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.