Add missing sudo 86/2286/1
authorYolanda Robla <yroblamo@redhat.com>
Thu, 5 Mar 2020 16:08:32 +0000 (17:08 +0100)
committerYolanda Robla <yroblamo@redhat.com>
Thu, 5 Mar 2020 16:08:32 +0000 (17:08 +0100)
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: Ib0be47493ce07dc8ccca26d916dd1335d8ad6ea0

ci/kni_deploy_libvirt.sh

index 70cf834..ab2da52 100755 (executable)
@@ -75,7 +75,7 @@ echo "metadata.json for removing cluster"
 sudo cat $HOME/.kni/${SITE_NAME}/final_manifests/metadata.json
 
 echo "Cluster successfully deployed! Start applying workloads"
-./knictl apply_workloads ${SITE_NAME} 2>&1 | tee ${WORKSPACE}/libvirt_workloads.log
+sudo -E ./knictl apply_workloads ${SITE_NAME} 2>&1 | tee ${WORKSPACE}/libvirt_workloads.log
 STATUS=$?
 
 if [ $STATUS -ne 0 ]; then