Revision 249f28eb
ID | 249f28eb4d9ea52d108fee029e47445bb4ad0b1c |
Parent | c720ffa9 |
Child | 293e1c1d |
Add verification of compression tool existence
The addition of lzop as a compression option that does not necessarily
exist on a Ganeti-running machine requires checks that lzop exists.
This patch applies a more general solution, and attempts to check for
the existence of a tool by running it with the -h switch on the target
node. A timeout is imposed in case the tool expects input, and missing
tools are handled as well.
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
Files
- added
- modified
- copied
- renamed
- deleted