Add sudo to docker commands
diff --git a/cloudlab-init.sh b/cloudlab-init.sh
index b946249..468271d 100755
--- a/cloudlab-init.sh
+++ b/cloudlab-init.sh
@@ -73,6 +73,6 @@
if [ "$CORD" -ne 0 ]
then
- DOCKER=$( docker ps|grep $IMAGE|awk '{print $NF}' )
- docker exec $DOCKER bash -c "cd /opt/xos/tosca; python run.py padmin@vicci.org samples/cord-cloudlab.yaml"
+ DOCKER=$( sudo docker ps|grep $IMAGE|awk '{print $NF}' )
+ sudo docker exec $DOCKER bash -c "cd /opt/xos/tosca; python run.py padmin@vicci.org samples/cord-cloudlab.yaml"
fi