elasticsearch の plugin をProxy環境内からインストール

bin/plugin -install mobz/elasticsearch-head

で、プラグインをインストールしたいんだけど、

# bin/plugin -install mobz/elasticsearch-head
-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip...
Failed to install mobz/elasticsearch-head, reason: failed to download out of all possible locations..., use -verbose to get detailed information

こんなカンジでインストール失敗。
例によってうちの環境だからProxyを通過できてないんだろうということで、
Unable to install plugin because of proxy の回答を参考に

bin/plugin -install mobz/elasticsearch-head -DproxyHost=***.***.***.*** -DproxyPort=****

で、Proxy経由のダウンロード&インストール。

よく見たら回答してる人、日本の方だった。
・・・今日注文したElasticsearchの本を翻訳した人だった!
スバラシス!