Fix #1260 ganeti-cleaner accepts REMOVE_AFTER as env var (#1267)
authorCalum Calder <calumcalder@users.noreply.github.com>
Tue, 19 Sep 2017 11:23:26 +0000 (12:23 +0100)
committerMorg <morg@google.com>
Tue, 19 Sep 2017 11:23:26 +0000 (12:23 +0100)
commit89d31d2039f50b67934db50b8a568de0397a26b5
treee21c5ab0d97bad8466850a6afcad182057c114be
parent98f4b99ddc53d94baa37cc09886c27273ec74590
Fix #1260 ganeti-cleaner accepts REMOVE_AFTER as env var (#1267)

This commit adds the option to use REMOVE_AFTER env var before running ganeti-cleaner master
to specify how many days to use as threshold before removal.

Signed-off-by: Calum Calder <calumcalder@google.com>
Reviewed-by: Federico Morg Pareschi <morg@google.com>
daemons/ganeti-cleaner.in
doc/examples/ganeti.cron.in
man/ganeti-cleaner.rst