Actualizar 02-install.sh
This commit is contained in:
parent
0b43459494
commit
d3e20df961
1 changed files with 1 additions and 3 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/bash -eu
|
#!/bin/bash -eu
|
||||||
# Run this as your Linux user — NOT as root
|
# Run this as your Linux user — NOT as root
|
||||||
# SP must have whitelisted your SSH key before running this
|
# SP must have whitelisted your SSH key before running this
|
||||||
|
|
||||||
if [ "$EUID" -eq 0 ]; then
|
if [ "$EUID" -eq 0 ]; then
|
||||||
echo "Please run this script as your Linux user, not as root"
|
echo "Please run this script as your Linux user, not as root"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
@ -11,6 +10,5 @@ REPO_URL="git@git.simplifiedprivacy.com:Support/operator-docker.git"
|
||||||
|
|
||||||
echo "=== Cloning operator-docker repo ==="
|
echo "=== Cloning operator-docker repo ==="
|
||||||
GIT_SSH_COMMAND='ssh -o StrictHostKeyChecking=no' git clone "$REPO_URL" operator-docker
|
GIT_SSH_COMMAND='ssh -o StrictHostKeyChecking=no' git clone "$REPO_URL" operator-docker
|
||||||
|
|
||||||
cd operator-docker
|
cd operator-docker
|
||||||
sudo bash install.sh
|
sudo bash install.sh
|
||||||
Loading…
Reference in a new issue