Query metadata.json with sudo 82/2282/1
authorYolanda Robla <yroblamo@redhat.com>
Thu, 5 Mar 2020 08:58:31 +0000 (09:58 +0100)
committerYolanda Robla <yroblamo@redhat.com>
Thu, 5 Mar 2020 08:58:31 +0000 (09:58 +0100)
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I1c3ad3ada7ca64be8622296e836ea63a927b3c60

ci/kni_deploy_libvirt.sh

index 95c63d8..ad2a30a 100755 (executable)
@@ -65,7 +65,7 @@ done
 
 # output tfstate
 echo "metadata.json for removing cluster"
-cat $HOME/.kni/${SITE_NAME}/final_manifests/metadata.json
+sudo cat $HOME/.kni/${SITE_NAME}/final_manifests/metadata.json
 
 if [ $STATUS -ne 0 ]; then
     echo "Error deploying in libvirt"