Re: [vserver] Build a Mandriva 2009 powered guest ...

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Thu 18 Jun 2009 - 12:39:37 BST
Message-ID: <20090618113937.GE8631@MAIL.13thfloor.at>

On Thu, Jun 18, 2009 at 01:10:24PM +0200, Dragan Saraginov wrote:
> Is it possible to build a Mandriva powered virtual server?

yep, quite simple if you have mandriva already
running on the host, a little more efford if
your host distro is different

> If the answer is yes, can anyone point me to the right direction on
> how to build a Mandriva 2009 powered guest.

first build a skeleton guest:

# vserver mandriva build -m skeleton --context 201 --hostname mandriva.test.org --interface eth0:192.168.0.1/24

then save the 'dev' dir ...
# mv /vservers/mandriva/dev /vservers/mandriva/dev.skel

install mandriva ...
# urpmi --root /vservers/mandriva/ basesystem

(answer the questions to your likings)

replace the dev dir (for security)

# rm -rf /vservers/mandriva/dev
# mv /vservers/mandriva/dev.skel /vservers/mandriva/dev

that's it ... if you do not have mandriva/urpmi on
the host, you are better off using kvm/qemu to install
it from a cd/dvd and trim that down to the necessary
parts for the guest (again use a skeleton /dev to make
the guest secure)

HTH,
Herbert

PS: would be nice to put that on the wiki if you
get around (i.e. after you figured it :)

> Thanks in advance.
>
> Dragan
>
>
> __________ Information from ESET Smart Security, version of virus signature
> database 4149 (20090611) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
Received on Thu Jun 18 12:39:58 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 18 Jun 2009 - 12:40:00 BST by hypermail 2.1.8