mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
install to local bin
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user