Skip to content
Snippets Groups Projects
Commit 01972d26 authored by garciadav's avatar garciadav Committed by garciadav
Browse files

Minor fix in prepare_pods.sh (charmed osm debug-mode)


Change-Id: Id6df73247e4227607b6ee5475d5ab9c6e06f056a
Signed-off-by: default avatarDavid Garcia <david.garcia@canonical.com>
parent de440ed8
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ echo "" | tee ~/.ssh/config.d/osm
for module in $MODULES; do
if [[ `juju config -m osm $module debug_mode` == "true" ]]; then
pod_name=`microk8s.kubectl -n osm get pods | grep -E "^$module-" | grep -v operator | cut -d " " -f 1`
pod_ip=`microk8s.kubectl -n osm get pods $pod_name -o yaml | yq .status.podIP`
pod_ip=`microk8s.kubectl -n osm get pods $pod_name -o yaml | yq e .status.podIP -`
echo "Host $module
HostName $pod_ip
User root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment