[Spacewalk-list] Changeing variables from within snippets
Jan Hutař
jhutar at redhat.com
Tue Aug 28 11:58:42 UTC 2012
On Mon, 27 Aug 2012 11:00:52 +1000 Matt Bryant
<matt at the-bryants.net> wrote:
> Was wondering if anybody could point me in the right direction.
>
> Currently trying to unify our interactive/non-interactive
> kickstart file so I have added a varaible buildType to the
> kickstart profile in spcewalk which has a default value,
>
> This can obviously be overriden by cobbler if i define a
> system with the appropriate ksmeta input. What i would also
> like to do is potentially override the value based on user
> input from %pre stage.
>
> So far nothing I have tried works.
>
> The pre script is python snack script which prompts for
> buildType ..
>
> I have tried the following
>
> * just setting the value ie buildType = <input>
>
> * writing the string '#set buildType = "<input>"' then #/%
> include the file
>
> * Same as above but with '#set global buildType
>
>
> Is there in fact a way to update variables within kickstart
> via user input ??
>
> rgds
>
> Matt B.
I would ask this Anaconda (== system installer) developers. I do
not have a clue.
Regards,
Jan
--
Jan Hutar Systems Management QA
jhutar at redhat.com Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120828/cbc8732a/attachment.sig>
More information about the Spacewalk-list
mailing list