Sha256: 14f132eb4e87feb6256935881c248f4f52eeb2a8b5d2bb794a749c42df8b450e

Contents?: true

Size: 1.4 KB

Versions: 4

Compression:

Stored size: 1.4 KB

Contents

# This directory is for testing the three different mount modes
# that are supported by vagrant-sshfs

# To test we will first create the directory on the machine where
# we will mount the guest /etc/ into the host (the reverse mount).

mkdir /tmp/reverse_mount_etc

# Next we will define where our 3rd party host is (the normal mount).
# This can be another vagrant box or whatever machine you want.
export THIRD_PARTY_HOST='192.168.121.73'                                                                                                                                               
export THIRD_PARTY_HOST_USER='vagrant'                                                                                                                                                 
export THIRD_PARTY_HOST_PASS='vagrant'

# Next vagrant up - will do 4 mounts
#  - slave
#  - slave with sym link
#  - normal
#  - reverse
vagrant up

# Next run the script to test the mounts:
$ bash dotests.sh 
Testing slave forward mount!
        d635332fe7aa4d4fb48e5cb9357bdedf
Testing slave forward mount with a symlink!
        d635332fe7aa4d4fb48e5cb9357bdedf
Testing normal forward mount!
        6ccc3034df924bd289dd16205bf3d629
Testing reverse mount!
        508619e7e68e446c84d1fcdf7e0dc577

# We are printing out the machine-id under each mount. The first two
should be the same, because they are from the same machine. The last
two should be different.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-sshfs-1.3.5 test/misc/README.txt
vagrant-sshfs-1.3.4 test/misc/README.txt
vagrant-sshfs-1.3.3 test/misc/README.txt
vagrant-sshfs-1.3.2 test/misc/README.txt