Hi On Tue, Apr 19, 2005 at 11:45:08AM +0200, Daniel Hermann wrote: > There is still one problem with the network interface. It seems that > "vserver ... build" (i.e. "ip addr add") uses netmask 255.255.255.255 > and broadcast 0.0.0.0 by default, and that may have some consequences.
Ok, good to know. I'll check that. > > > some legacy stuff, so there is still the same code for the other > > > options, except "--copy-vreboot", "--no-copy-vreboot" and > > > "--fakeinit". Still TODO is "--fakeinit" and other flags like > > > "nprocs", but they can probably all be supported by the > > > vserver-build "--flags" argument. I didn't check the one-to-one > > > equivalence of the configuration (/etc/vservers/vserver-name.conf on > > > the one hand and /etc/vservers/vserver-name/* on the other hand). > > > > I have never ever used these options myself so I do not think they are very > > important. > > > > What about allowing additional arguments after a "--" argument and > handing them over directly to "vserver ... build"? That may be a good thing, yes. > > > I'm currently writing some local extensions to "vserver ... build" by > > > adding a file /etc/vservers/.distributions/sarge/initpost (I need some > > > files copied from the host to the new vserver; this is not possible > > > with --post-install-script of newvserver). In principle it should even > > > be easily possible to put the whole stuff of newvserver into such > > > initpre/initpost scripts. Then newvserver would just be a very short > > > wrapper script around "vserver ... build" and both creation methods > > > ("vserver ... build" and newvserver) would be equivalent. What do you > > > think? > > > > Sounds like a good idea. I have thought about writing newvserver with > > debootstrap rules but this may be a better option. The shorter newvserver > > can be the better. > > > > There are some initpre/initpost scripts for RedHat and Fedora vservers > in the util-vserver package. To include some scripts for Debian would > also enable people to build Debian vservers on other distros, at least > if the scripts don't presume a Debian host. That would be good, yes. Do you know the interface for calling those scripts? Regards, // Ola > regards > > Daniel > > -- > ----------------------------------------------------------------- > Daniel Hermann, Institut fuer Theorie der Kondensierten Materie > Universitaet Karlsruhe Tel: ++49 (0)721 608-3588 > Postfach 6980 Fax: ++49 (0)721 608-7779 > 76128 Karlsruhe, Germany email: [EMAIL PROTECTED] > ----------------------------------------------------------------- > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]