Change-Id: Id6df73247e4227607b6ee5475d5ab9c6e06f056a
Signed-off-by: David Garcia <david.garcia@canonical.com>
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