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

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Mon 22 Aug 2005 - 19:13:20 BST

On Mon, Aug 22, 2005 at 07:55:49PM +0200, mess-mate wrote:

[some stuff zapped]

> | you most likely want to add an interface config for
> | your guest, e.g. something like in the examples ...
> |
> | vserver etch build -m debootstrap --interface hansi=eth0: --hostname=hansi.ist.org --context 42 -- -d etch -m ftp://ftp.debian.org/debian/ -- --resolve-deps
> |
> Ok i can try that, but can't a etch.conf do that ?? Like this:
> # How shall the networkdevice be named from the view of the vserver
> # shown domainname: Set to "none" to have no NIS domain set.
> # lock = you are not allowed to create a new context in your context
> # nproc = let ULIMIT-value be global for this context
> S_FLAGS="lock nproc"
> ULIMIT="-H -u 1000"
> /etc/init.d/vservers

first, you don't want to give CAP_SYS_ADMIN, trust me
second, you want to use a static context id (again
trust me, but you could use S_CONTEXT=42 for that)
third, the ulimit will not work, unless you change
it to ULIMIT="-HS -u 1000", fourth, the S_FLAGS are
pretty bogus with recent kernel patches ... and finally
you are trying to use a legacy config ... and non legacy
guests will not look at a legacy config :)


> If YES, why is that vserver not looking for that config file when
> starting ??
> mess-mate
> --
> Habit is habit, and not to be flung out of the window by any man, but coaxed
> down-stairs a step at a time.
> -- Mark Twain, "Pudd'nhead Wilson's Calendar
Vserver mailing list

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 Mon 22 Aug 2005 - 19:13:44 BST by hypermail 2.1.3