include XEN kernel & tools in CentOS 5.1 kickstart?

Rudi Ahlers Rudi at SoftDux.com
Thu Feb 28 19:17:55 UTC 2008


Michael DeHaan wrote:
> Rudi Ahlers wrote:
>> Pablo Iranzo Gómez wrote:
>>> On Wed, 27 Feb 2008, Rudi Ahlers wrote:
>>>  
>>>> This is a bit above me.
>>>>
>>>> I use SME 7.3  (which is built on CentOS 4.6) as inhouse production
>>>> server, and then I have my (soon to colocate) test server, which
>>>> currently runs CentOS 5.1 64.
>>>> How would I test an rpm on an already running system?
>>>>     
>>>
>>> rpm --test
>>>
>>> and the proposed  for testing dependencies: rpm --justdb --root
>>> /tmp/tempath/ package1, package2
>>>
>>>  
>>>> What I have done till now, is todo a base install, and then create 
>>>> only
>>>> use the files installed (as per /installation.log) in my new CD. 
>>>> There's
>>>> still quite a few programs that I don't need and could probably delete
>>>> them from the CentOS folder on the CD, but I still need to figure out
>>>> how these file are installed. I saw the repodata/comps.xml file, but
>>>> it's LONG, and have a lot of different languages, not some something I
>>>> can take on right now. It's almost easier to run something like "yum
>>>> remove {package-name} from the kickstart file
>>>>     
>>>
>>>     You can put "-package" at %packages
>>>
>>>     In order to have a minimal one just test with "%packages --nobase"
>>> and begin adding packages you find missing on the target system 
>>> (ssh, joe,
>>> etc)
>>>
>>>     Have a look at the --root trick to check all "really" required
>>> files ;)
>>>
>>>     Regards
>>>     Pablo
>>>
>>> _______________________________________________
>>>
>>>   
>> Ok, this project didn't work as well as I thought. So, I installed an 
>> "empty" system, without any repositories as well.
>> I'm going to take a new approach, and install xen, kernel-xen 
>> virt-manager & virsh via yum and then use that to build up my rpm 
>> list to work with.
>>
>> So, which repositories do I need on CentOS 5.1 x64 to install xen?
>>
>
> All of that should be in the base repos for pretty much any relatively 
> recent distro.
> Not sure what "without any repositories means".
>
> This isn't CentOS specific but is worth reading:  
> http://fedoraproject.org/wiki/Docs/Fedora8VirtQuickStart
>
> --Michael
>
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>
Thanx, I'll check out the post.

For some reason /etc/yum.conf is empty:



[root at gimbli ~]# more /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d



-- 

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg






More information about the Kickstart-list mailing list