interactive kickstart ?

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

 



Is there any way to keep environment variables across different
sections of a kickstart file ? E.g., if during %pre I solicit some
input:

%pre
echo "enter bootloader password now:" > /dev/tty
read -s GRUBPW < /dev/tty
echo "you entered: ${GRUBPW}" > /dev/tty
export GRUBPW
%end

... is there any way to make $GRUBPW visible later on, on the
'bootloader' line in the main section of the kickstart file?
I.e., can I make something like this work: 

bootloader --location=mbr --driveorder=sda --password=${GRUBPW}

Is there a better way to solicit the bootloader password interactively
(as I'd prefer not to publish it in a kickstart file, for reasons
similar to why I'm not including a 'rootpw' line) ?

Also, this is not the only application. I'd like to use environment
variables read during %pre in %post (in order to ask all the questions
early on, then proceed with an unattended install).

Thanks for any ideas, suggestions, or pointers.

--Gabriel
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux