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

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: pgpR6lBrw2Jgr.pgp
Description: PGP signature

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.