From c50da2879251ad0e27a04316406c24cabf3706af Mon Sep 17 00:00:00 2001 From: David Garcia Date: Mon, 31 May 2021 16:00:57 +0200 Subject: [PATCH] Fix yq command in quickstart --- 05-quickstarts.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/05-quickstarts.md b/05-quickstarts.md index 77d1da7..8570216 100644 --- a/05-quickstarts.md +++ b/05-quickstarts.md @@ -346,7 +346,8 @@ Once it finished instantiating, you can get the IP address of the squid service ``` cnf_id=`osm vnf-list | grep squid | awk '{ print $2 }'` -osm vnf-show --literal $cnf_id | yq ".kdur[0].services[]" +osm vnf-show --literal $cnf_id | \ + yq e '.kdur[0].services[] | select(.name == "squid").external_ip[0]' - ``` Search for the `external_ip` of the service named `squid`. -- GitLab