Fix paths in quickstart example script

The paths originally were misleading due to escaped home dir
reference (~) not being interpolated properly.

Proposal is to rely on current directory relative paths instead.

Change-Id: I7fe57849ccf9a5e35fcd79776cf8d2881d68cbf8
This commit is contained in:
Oleg Gelbukh 2016-09-15 20:13:40 +00:00
parent 9f6826345c
commit 6b399aa076
1 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ Create deployment script:
::
cat > ~/deploy-k8s.sh << EOF
cat > ./deploy-k8s.sh << EOF
#!/bin/bash
set -ex
@ -57,11 +57,11 @@ Create deployment script:
export ADMIN_IP="10.90.0.2"
export SLAVE_IPS="10.90.0.2 10.90.0.3 10.90.0.4"
export DEPLOY_METHOD="kargo"
export WORKSPACE="~/workspace"
export WORKSPACE="${HOME}/workspace"
mkdir -p $WORKSPACE
cd ~/fuel-ccp-installer
bash -x "~/utils/jenkins/run_k8s_deploy_test.sh"
cd ./fuel-ccp-installer
bash -x "./utils/jenkins/run_k8s_deploy_test.sh"
EOF
- ``ADMIN_IP`` - IP of the node which will run ansible. When the `$ADMIN_IP`