diff --git a/edge/vmware/clone_vm_template/delete-packer-cache.sh b/edge/vmware/clone_vm_template/delete-packer-cache.sh index 875b959..8c491f8 100644 --- a/edge/vmware/clone_vm_template/delete-packer-cache.sh +++ b/edge/vmware/clone_vm_template/delete-packer-cache.sh @@ -3,7 +3,7 @@ source /edge/vmware/clone_vm_template/setenv.sh # First, list directories to confirm access and credentials -govc datastore.ls -ds=$vcenter_datastore +govc datastore.ls -ds=$vcenter_datastore > /dev/null if [ $? -ne 0 ]; then echo "Error accessing datastore." exit 1