Re: kickstart variables?

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

 



On Tue, Dec 31, 2013 at 12:14:27PM -0600, Stephen Berg (Contractor) wrote:
> Is there a list of available variables when doing a kickstart install?  I'm
> working up a kickstart for F20 and got curious if there's any that anaconda
> sets by default.  I know that you can use $releasever and $basearch when
> defining repos.  A few that I'd like to use if they exist would be:
> 
> $mac (MAC address of the active network connection)
> $ip (current IP address)
> $nic (the name of the active network card, eno1, em1, eth0 or whatever)
> 
> The intent here is to do a kickstart install and end up with a system that
> has eth0 as the NIC name.  MatLab from Mathworks wants to see eth0 when it
> does it's licensing thing.  I can easily get the system using eth0 after
> install, but if I could set it up that way from the kickstart it would save
> me some time on new installs and re-installs.

I do not think variables like that exist.  But then last time I looked
at kickstart was before the Anaconda rewrite.  AFAIK, this page is the
canonical documentation on kickstart files:

  <https://fedoraproject.org/wiki/Anaconda/Kickstart>

That said, I think this kind of information can be extracted by some
scripting in the kickstart files.  The post install section is one big
script after all.  If you are not familiar with it yet, take a look at
the Fedora spin kickstarts[1] for some examples.

Hope this helps,


Footnotes:

[1] Available with yum install spin-kickstarts.
    Git: <https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/>


-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
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