Subject: Re: [vserver] Feature request - vserver rename
From: Nikolay Kichukov <hijacker@oldum.net>
Date: Tue, 12 Aug 2008 19:11:00 +0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
Agree, would be nice to have.

Cheers,
- -Nik

Ed W wrote:
> Hi, quick and hopefully trivial feature request:
> 
> Can we please have a "vserver rename" command in an upcoming revision of
> the vserver scripts (perhaps a subfeature of the vserver copy thing?). 
> It would do literally what it sounds like - rename the /etc/vserver/xyz
> dir, the vdir and update all the symlinks.  I would have thought just a
> few lines?
> 
> The motivation is that occasionally I find myself doing a trial run of
> something, or I decide to re-implement some vserver, but for various
> reasons I want to keep the original vserver name (say to match the DNS
> address which is convenient), and additionally I want to keep the old
> vserver image around in case I need to take a peek to check something. 
> Right now I do it infrequently enough that I just rename things
> manually, but I don't bother to change the symlinks in /etc/vservers/xyz
> and it leads to some quirks like the vserver scripts thinking that
> vserver is running because it's got a ./run which points to a real up
> and running vserver
> 
> Not an earth shatteringly useful feature, but it would be handy
> 
> Thanks for listening
> 
> Ed W
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJIobYSAAoJEDFLYVOGGjgX3EgIANRZU2kcgxYtTXM9eiD1+OWm
wvE2wKDo+g8WfRwnIQh2YG0uFoV/Ja5FTEsDyDrgYYzQ1JC4aZYNHh9ZCWD0Aop1
c79ZFC6J4LILw9hVJDz3orCmY0qw44nYblP04Td0Wm4jNd+fsRkTDrhEk/X7mA+K
otGsCsyJRXC3+O58pKhjKKar2eXadSPpQ4wz+bSVZQV7bJLWa/a9VviqidC2Tzey
qKwfEjm+oWgVrX4Me5t44cDLgYVwryi6XHYTXT8x/MJUNEPgUrGGvGujhg6e0O+c
VMwHNYwd/kN3jWGvQGejkkNKyzrsGb6atMFxJ3oGZa1laqXmCrq5MvswEqLhV1g=
=tI4k
-----END PGP SIGNATURE-----