Re: Kickstart file based on current configuration

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

 



Bob Kinney wrote:
How can I make a kickstart file that is based on the packages I currently have installed?
I still have anaconda-ks.cfg, but of course I've added a bunch of stuff
since then.

Get the full list with "yum list" and look at the ones marked "installed." You might have to manually separate out non-fedora versions.
Something like:

yum list | tee all.pkgs | grep installed >installed.pkgs
sed -n /\.lvn6/p installed.pkgs >livna-instl.pkgs
sed -n /\.fc6/p installed.pkgs >fc6-instl.pkgs

Example for fc6, but you should get the idea.

--
Bill Davidsen <[email protected]>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux