Re: Kickstart file based on current configuration

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

 





--- On Sat, 4/26/08, Bill Davidsen <davidsen@xxxxxxx> wrote:

> From: Bill Davidsen <davidsen@xxxxxxx>
> Subject: Re: Kickstart file based on current configuration
> To: "For users of Fedora" <fedora-list@xxxxxxxxxx>
> Date: Saturday, April 26, 2008, 10:07 PM
> 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.
> 

Great tip!  Using "yum list installed" you get a list of the installed
packages.  With minor hacking this can be added to the original kickstart
file.  

Since I want to use this to streamline upgrades, I wonder if it would be
best to let yum install the add-ons to ensure proper dependency checking.




      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux