5
juju-log "We've got a mount"
8
options=`relation-get options`
9
mountpoint=`relation-get mountpoint`
10
fstype=`relation-get fstype`
11
host=`relation-get private-address`
13
if [ -z "$fstype" ] ; then
14
juju-log "Going to wait for some real data"
18
if [ ! -z "$options" ]; then
22
# Write this out to our .nfs-mount file
23
cat > .nfs-mount <<EOF
28
MOUNT_PATH=$mountpoint
32
. hooks/config-changed