[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] bbcmd on clients does not set MACHINE and MACHINEDOTS
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] bbcmd on clients does not set MACHINE and MACHINEDOTS
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Sun, 9 Jul 2006 17:14:49 +0200
- References: <446C103A.8050404@unil.ch> <44ABADF8.8070209@steria.com>
- User-agent: Mutt/1.5.11
On Wed, Jul 05, 2006 at 02:18:00PM +0200, Frédéric Mangeant wrote:
> Dominique Frise a écrit :
> >Hi,
> >
> >We noticed a problem when using bbcmd on clients for testing extension
> >scripts: the variables exported in runclient.sh are not set.
> >
> >At least MACHINE and MACHINEDOTS should be set for beeing able to test
> >any client-side extension script (Big Brother style or Hobbit style).
>
> I totally agree with Dominique : I'm currently "upgrading" Big Brother
> clients to Hobbit 4.1.2p1 clients, and some of my external scripts are
> run from other scripts (post-backup ones, for example).
>
> Would it be possible to modify bbcmd to export MACHINE, MACHINEDOTS,
> BBOSTYPE and HOBBITCLIENTHOME, so we can run external scripts outside of
> Hobbit ?
Done now. HOBBITCLIENTHOME is decided based on the location of the
environment file that is loaded, which should give the right result
in any normal setup.
Regards,
Henrik