aboutsummaryrefslogtreecommitdiffstats
path: root/kud/hosting_providers/baremetal/aio.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kud/hosting_providers/baremetal/aio.sh')
-rwxr-xr-xkud/hosting_providers/baremetal/aio.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kud/hosting_providers/baremetal/aio.sh b/kud/hosting_providers/baremetal/aio.sh
index c9903cd3..c1aac6ac 100755
--- a/kud/hosting_providers/baremetal/aio.sh
+++ b/kud/hosting_providers/baremetal/aio.sh
@@ -12,7 +12,7 @@ set -o errexit
set -o nounset
set -o pipefail
-aio_dir=$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)
+aio_dir="$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")"
cd ${aio_dir}/../vagrant
# For aio inventory by default get ovn central ip from local host default interface.