Re: Upating variables from a %pre script

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

 



Hi Matt,

In kickstart file you could use:

%include /tmp/configvalue.txt

And in %pre you could just add whatever you want in that file, given kickstart syntax.
i.e: echo "bootloader --location=mbr" > /tmp/configvalue.txt

Regards,
Adrian

On 08/30/2012 07:43 AM, Matt Bryant wrote:
All,

I was wondring if someone could point me in the right direction Is it possible to update a vaiable in kickstart file give user input in a %pre script. Basically i have a varibale buildType and whilst I can override the default value of the profile using ksmeta input when adding a system to cobbler would like to also be able to override given user input from %pre script.

Have tried just about everything i can think of including creating a file ks.settings which held the variations

#set global $buildType = "value"
#set global buildType ="value"
#set buildType = "value"
#set $buildType = "value"

then doing a #include but that doesnt seem to work ...

Is there in fact a way this can be done ??

Any help appreciated.

rgds

Matt B.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux