Export instance tags to instance hooks
authorApollon Oikonomopoulos <apollon@noc.grnet.gr>
Tue, 31 May 2011 12:50:28 +0000 (15:50 +0300)
committerIustin Pop <iustin@google.com>
Wed, 1 Jun 2011 17:24:13 +0000 (19:24 +0200)
commit9dfa16fc057f4c07f79ae68a538e77e3ea21d498
treec2df988e4de071d791a38262e309bc92b826e6e8
parenta57981c5e684c1b7055d7be31d144ca43bb34d65
Export instance tags to instance hooks

Instance hooks now get an INSTANCE_TAGS environment variable, which contains a
space-delimited list of the affected instance's tags.

Also update the documentation to reflect the change.

Signed-off-by: Apollon Oikonomopoulos <apollon@noc.grnet.gr>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
doc/hooks.rst
lib/cmdlib.py