Skip to content

Commit

Permalink
OVA setup: fix unmount
Browse files Browse the repository at this point in the history
Signed-off-by: Arik Hadas <[email protected]>
  • Loading branch information
ahadas committed Oct 29, 2023
1 parent ac5e7c1 commit 81b82ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cluster/providers/ova/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi


# Downloaded the file and check if the copy was successful
echo "The VM ova file download started."
echo "Starting to download OVA file."
sudo wget -P "$nfs_mount_point" "$ova_file_url"
if [ $? -eq 0 ]; then
echo "OVA file copied successfully to NFS share."
Expand All @@ -33,7 +33,7 @@ else
fi

# Unmount the NFS share
umount "$nfs_mount_point"
sudo umount "$nfs_mount_point"

# deploy csi-driver-nfs
cluster/providers/utils/deploy_csi_driver_nfs.sh "${NFS_IP_ADDRESS}" "${NFS_SHARE}"
cluster/providers/utils/deploy_csi_driver_nfs.sh "${NFS_IP_ADDRESS}" "${NFS_SHARE}"

0 comments on commit 81b82ff

Please sign in to comment.