install to local bin
This commit is contained in:
parent
2dbeced72f
commit
b0989f87ac
|
@ -15,8 +15,8 @@ function install_consul() {
|
|||
wget -q -O /tmp/consul.zip ${DOWNLOAD}
|
||||
|
||||
unzip -d /tmp /tmp/consul.zip
|
||||
mv /tmp/consul /usr/bin/consul
|
||||
chmod +x /usr/bin/consul
|
||||
mv /tmp/consul /usr/local/bin/consul
|
||||
chmod +x /usr/local/bin/consul
|
||||
}
|
||||
|
||||
install_consul
|
||||
|
|
|
@ -15,8 +15,8 @@ function install_vault() {
|
|||
wget -q -O /tmp/vault.zip ${DOWNLOAD}
|
||||
|
||||
unzip -d /tmp /tmp/vault.zip
|
||||
mv /tmp/vault /usr/bin/vault
|
||||
chmod +x /usr/bin/vault
|
||||
mv /tmp/vault /usr/local/bin/vault
|
||||
chmod +x /usr/local/bin/vault
|
||||
}
|
||||
|
||||
install_vault
|
||||
|
|
Loading…
Reference in a new issue