#!/usr/bin/env bash

#该脚本的作用是：挂载java1 上的NFS 到/data 相应的目录：
echo "10.168.115.187:/app		/data/autobuild/source/WeiZuanHtml5/			nfs	defaults	0 0" >> /etc/fstab
echo "10.168.115.187:/img		/data/zuan/Uploads/					nfs     defaults        0 0" >> /etc/fstab
echo "10.168.115.180:/dev/shm/Html      /data/zuan/Html                                         nfs     defaults        0 0" >> /etc/fstab

mount 10.168.115.187:/app /data/autobuild/source/WeiZuanHtml5/
mount 10.168.115.187:/img /data/zuan/Uploads/
mount 10.168.115.180:/dev/shm/Html /data/zuan/Html

