WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Create a domU using rpmstrap CentOS

On Sat, 2006-10-21 at 09:37 +0200, carlopmart wrote:
> 
> > 
> >> Thanks
> >> Joao Correia
> 
> Very good howtos Michael Lang and Michael Kress!!!!!!!. Oe questio: can 
> i do the same to install centos 3.8 domU on Centos 4.4 under xen 3.0.3 
> using rpms provided by xensource???

Hi,

sure, just copy your /etc/yum.repos.d/CentOS-Base.repo with (to force
release 3 and arch i386)

# instead of $ cp /etc/yum.repos.d/* /mnt/etc/yum.repos.d/
# the first replaces every releasever (4,3,2) with the value of 3
# the second replaces every arch entry (x86_64,..) with i386
# the third replaces the GPG names from 4 to 3

$ sed -e " s#$releasever#3#g; s#$basearch#i386#g; s#centos4#centos3#g;"\
        < /etc/yum.repos.d/CentOS-Base.repo \
        > /mnt/etc/yum.repos.d/CentOS-Base.repo

Kind regards
Michael Lang

> 
> Thanks ..
> 
> 
> >>
> >> _______________________________________________
> >> Xen-users mailing list
> >> Xen-users@xxxxxxxxxxxxxxxxxxx
> >> http://lists.xensource.com/xen-users
> 
-- 
Michael Lang <Michael.Lang@xxxxxxxxxx>

Attachment: pgp1CpFQ52D1K.pgp
Description: PGP signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users