There seems to be a problem mounting CIFS file shares on this image. I’ve tried doing the following
- run:
name: "Install cifs-utils"
command: |
sudo apt-get update && sudo apt-get install -y cifs-utils
- run:
name: "Mount file share"
command: |
sudo mkdir /mnt/share
SMB_PATH="//$FILESHARE_STORAGEACCOUNT_NAME.file.core.windows.net/$FILESHARE_NAME"
sudo mount -t cifs $SMB_PATH /mnt/share -o username=$FILESHARE_STORAGEACCOUNT_NAME,password=$FILESHARE_STORAGEACCOUNT_KEY,serverino,nosharesock,actimeo=30
It gives the error
^@^@mount error: cifs filesystem not supported by the system
mount error(19): No such device
The images prior to 2024.04.4 seem to work fine. It’s just this latest image that seems to have this problem.