Subject: Re: [vserver] Multiple IPs ... again :-)
From: "John A. Sullivan III" <jsullivan@opensourcedevel.com>
Date: Thu, 28 May 2009 19:14:10 -0400

 Thu, 28 May 2009 19:14:10 -0400
On Thu, 2009-05-28 at 15:57 -0700, Roderick A. Anderson wrote:
> ADNET Ghislain wrote:
> > Roderick A. Anderson a écrit :
> >> Next question.
> >>
> >> Is there anyway (simple, standard, etc.) to have an 'interface' 
> >> defined in a /etc/vserver/$GUEST/ but not be used when the guest is 
> >> started.  Or a way to turn an interface on or off?
> >>
> >>
> >> \\||/
> >> Rod
> > yes,
> > 
> > here is a little explanation:
> > 
> > http://linux-vserver.org/util-vserver:Cheatsheet#How to add an IP address to a live
guest .3F 
> 
> Right I saw that but in the current case I want to define the interface 
> /etc/vservers/$GUEST/interface/1/{ip,dev,prefix} but not have it go 
> active if the guest gets (re)started.
> 
> Adding to a running guest isn't an issue.  Typically I make the entries 
> in /etc/vservers/$GUEST/* then restart.  But if I make the entries in 
> advance but am not ready to have them go active it would be nice to have 
> a way to block that.
> 
> I am trying to stay with the util-vserver toolkit and way as much as 
> possible.
> 
> I was thinking(/hoping) a flag-file similar to apps/init/mark for each 
> interface to bring up.
> 
> 
> \\||/
> Rod
When do you want it to go active? - John
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan@opensourcedevel.com

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society