#!/usr/bin/env bash DESC="Test NFS (bigboss exporte /overlays/ro/usr/share/doc (ro) et tiny l'importe)" HELP=" Bigboss et tiny doivent avoir été configurés par baseConfig. " SYSTEMS="bigboss tiny" run() { local localErrors=0 requireSshGuests $SYSTEMS vdnTest "NFS lecture seule (ro) ?" ' vdn-ssh root@tiny " [ ! -d /mnt/bigboss ] && mkdir /mnt/bigboss; timeout 3 mount bigboss:/overlays/ro/usr/share/doc /mnt/bigboss; [ ! -e /mnt/bigboss/xterm ] && exit 1; umount /mnt/bigboss; "' echoDone return $localErrors }