[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] Two new features in ezjail



On 9/14/07, Dirk Engling <erdgeist AT erdgeist DOT org> wrote:
>
> Dear hackers,
>
> I introduced a new 'console' subcommand to ezjail-admin. This allows
> attaching to a jail by its jail name.
>
>    jls | grep hostname
>    jexec <cut&paste> /bin/sh
>
> now can be achieved by
>
>    ezjail-admin console [-e /bin/sh] hostname
>
> The script can even try to start that jail, if ran with -f.
>
> The second feature is a short cut for everything that matches *start or
> *stop. All parameters are being passed to ezjail.sh that will do all the
> magic.
>
> This is particularily usefule, since for me /usr/local/etc/rc.d is not in
> path and I am too damn lazy to everytime type that path.
>
>    ezj<TAB>restart foo.org
>
> now is everyhing needed to restart a jail.
>
> You can find all that in CVS, I'd love to have some feedback on this.
>
> Regards
>
>    erdgeist
>

These look like some useful enhancements.  I've verified that they
operate as expected in my small test environment running on a -CURRENT
machine.  Great work!

Matt