Update some hooks settings
authorIustin Pop <iustin@google.com>
Wed, 25 Feb 2009 11:23:58 +0000 (11:23 +0000)
committerIustin Pop <iustin@google.com>
Wed, 25 Feb 2009 11:23:58 +0000 (11:23 +0000)
commit2c2690c9ea4e5b51fb878a325f9b0046370e23b4
tree7a13fe0cfa7a44de1e666c14b55b2605e11a6957
parent07813a9efd0baac14437ebcc9841c66e3131a265
Update some hooks settings

While reviewing the hooks document, I realised we are not correctly
exporting the instance properties.

This patch fixes:
  - export the disk and disk template in all LUs, not only (hardcoded)
    in the instance create
  - removes the instance create INSTANCE_ prefix on some non-instance
    variables (those are LU-related, not instance-related)
  - adds a couple of more variables to other LUs

The hook document will be updated in a separate patch.

Reviewed-by: ultrotter
lib/cmdlib.py