Sha256: 7a2da843e28050d78d13edc8919b8ffe7de92a210e7bd36a154d8b618351dc45
Contents?: true
Size: 1.12 KB
Versions: 3
Compression:
Stored size: 1.12 KB
Contents
Vagrant.configure(2) do |config| config.ssh.insert_key = 'true' # Test a forward slave mount: # mounting /etc/ from the vagrant host into the guest config.vm.synced_folder "/etc/", "/tmp/forward_slave_mount_etc/", type: "sshfs" # Test a forward mount to a location that is a symbolic link # https://github.com/dustymabe/vagrant-sshfs/issues/44 config.vm.synced_folder "/etc/", "/sbin/forward_slave_mount_sym_link_test/", type: "sshfs" # Test a forward normal mount: # mounting a folder from a 3rd party host into guest config.vm.synced_folder "/etc/", "/tmp/forward_normal_mount_etc/", type: "sshfs", ssh_host: ENV['THIRD_PARTY_HOST'], ssh_username: ENV['THIRD_PARTY_HOST_USER'], ssh_password: ENV['THIRD_PARTY_HOST_PASS'] # Test a reverse mount: # mounting /etc/ from vagrant guest into vagrant host config.vm.synced_folder "/tmp/reverse_mount_etc/", "/etc", type: "sshfs", reverse: true host = 'sshfs-tests' box = 'fedora/31-cloud-base' config.vm.define host do | tmp | tmp.vm.hostname = host tmp.vm.box = box end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vagrant-sshfs-1.3.4 | test/misc/Vagrantfile |
vagrant-sshfs-1.3.3 | test/misc/Vagrantfile |
vagrant-sshfs-1.3.2 | test/misc/Vagrantfile |