About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Tue 01 Apr 2003 - 06:46:34 BST


On Mon, Mar 31, 2003 at 11:14:56PM -0600, Eje Gustafsson wrote:
> you didn't tell that you want to find out from inside the virtual
> server what virtual server your in.
> And no there are no correlations between really anything in the
> virtual server and the name of it.
> The name is just for YOUR reference to know which virtual server you
> enter/start/stop

if you would like to reference this name from
inside a virtual server, add something like

 echo "$2" >/vservers/$2/etc/vs.name

in the pre-start) case of your /etc/vservers/<myname>.sh

best,
Herbert

> /Eje
>
> Monday, March 31, 2003, 10:21:34 PM, you wrote:
>
> DR> Thats not realy the way I asked for to find the name of it. If you just
> DR> logon to the vserver and not to the host machine, you cant see the
> DR> /etc/vservers directory anyway. I need to find the name during the
> DR> session in the vserver.
>
> DR> Eje Gustafsson wrote:
>
> >>the server name in question is the name you have for your config file
> >>and the vserver root directory.
> >>
> >>/etc/vservers
> >>in there you should have 2 files
> >>
> >>servername.conf and servername.sh
> >>then you should have a matching
> >>/vserver/servername directory where all your packages are installed.
> >>
> >>So to start this vserver you type
> >>vserver servername start
> >>
> >>if your .conf and .sh file don't exist you will get an error message
> >>if your /vserver/servername don't exist you will get an error message.
> >>
> >>Pretty simply actually.
> >>
> >> /Eje
> >>
> >>Monday, March 31, 2003, 1:14:16 PM, you wrote:
> >>
> >>DR> Hi,
> >>
> >>DR> I want to ask if there is a possibility to find out the name of the
> >>DR> vserver. I talk about the name, you have to use for the vserver commands
> >>DR> like
> >>
> >>DR> vserver server1 start
> >>DR> ^^^^^^
> >>
> >>
> >>
> >>DR> ---
> >>DR> [This E-mail scanned for viruses by Declude Virus]
> >>
> >>
> >>
> >>
> >>Best regards,
> >> Eje Gustafsson mailto:MacAhan_at_fament.com
> >>---
> >>The Family Entertainment Network eFax : 240-376-7272
> >>Phone : 620-231-7777 Fax : 620-231-4066
> >>Online Store http://www.fament.com/catalog/
> >> - Your Full Time Professionals -
> >>
> >>---
> >>[This E-mail scanned for viruses by Declude Virus]
> >>
> >>
>
>
> DR> ---
> DR> [This E-mail scanned for viruses by Declude Virus]
>
>
>
> Best regards,
> Eje Gustafsson mailto:MacAhan_at_fament.com
> ---
> The Family Entertainment Network http://www.fament.com
> Phone : 620-231-7777 Fax : 620-231-4066
> eBay UserID : macahan
> - Your Full Time Professionals -
>
> ---
> [This E-mail scanned for viruses by Declude Virus]


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 22 Apr 2003 - 18:41:46 BST by hypermail 2.1.3