forked from autotest/autotest
-
Notifications
You must be signed in to change notification settings - Fork 0
AutoservClientInstall
Lucas Meneghel Rodrigues edited this page Sep 22, 2011
·
2 revisions
When you install an Autotest client from a server side control file,
either manually using Autotest.install or automatically when running
a client control file using autoserv, autoserv has to determine a
location on the remote host to install the client.
If you need the client installed in a specific location then the most
direct solution is to pass in an autodir parameter to
Autotest.install since this will disable any automatic determination
and just use the provided path. However in the case that this is not
possible or practical then the following sources are checked for a path
and the first one found is used:
- The result of calling
Host.get_autodirif it returns a value - The dirname of the target of the
/etc/autotest.confsymlink on the remote machine -
/usr/local/autotestif it exists on the remote machine -
/home/autotestif it exists on the remote machine -
/usr/local/autotesteven if it doesn't exist
Note that an Autotest client install will itself call
Host.set_autodir to set it to the install location it ended up
using.