Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

SSHFS Mount Helper for PWS

License

Notifications You must be signed in to change notification settings

vmware-archive/sshfs-mountie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sshfs-mountie

Mountie allows CF applications to mount one or more filesystems provided by the cf-sshfs service.

To use mountie with a CF app that you've already started:

  1. Create service instances for your desired filesystems.

    cf create-service sshfs unlimited my-web-content
    cf create-service sshfs unlimited my-internal-content
    
  2. Bind the service instances to your application.

    cf bind-service my-app my-web-content
    cf bind-service my-app my-internal-content
    
  3. Create a directory called .profile.d in your application's root directory.

    cd my-app
    mkdir -p .profile.d
  4. Download the mount.sh file from the latest release and place it in your application's .profile.d/mount.sh.

  5. Push your app.

    cf push my-app

By default, Mountie will mount all filesystems inside /home/vcap/filesystems in the application container.

An application developer may customize this path by modifying the mount.sh script inside their .profile.d directory (between steps 4 and 5 above).