scripts/vps-download: gpg checking, template updating added
(1) Add automatic GPG signature checking, enabled by default.
(2) Add ability to download a newer template, enabled by default.
(3) Add --no-gpg-check and --no-update to disable (1) and (2)
(4) Add usage() and --usage o show some help.
(5) Add --config to show current configuration (including hints on how
to modify it using parameters in vz.conf)
(6) Add sanity check for gpg binary and gpg key presence.
(7) Simplify download() by splitting out do_download().
(8) Something else I forgot.
TODO:
1. Add --no-gpg-check, --no-download and --no-update to 'vzctl create'.
2. Add call to vps-download even if there is a template cache
(unless --no-update or --no-download is given).
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed