From 6b399aa076a62de206a2f7da9839a38a7a23f41a Mon Sep 17 00:00:00 2001 From: Oleg Gelbukh Date: Thu, 15 Sep 2016 20:13:40 +0000 Subject: [PATCH] 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 --- doc/source/quickstart.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/quickstart.rst b/doc/source/quickstart.rst index 5bff737..20bb4f6 100644 --- a/doc/source/quickstart.rst +++ b/doc/source/quickstart.rst @@ -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`