Enabling and Mounting NFS on CoreOS

http://blog.scottlowe.org/2015/02/20/config-mount-nfs-coreos/

#cloud-config

write-files:
  - path: /etc/conf.d/nfs
    permissions: '0644'
    content: |
      OPTS_RPC_MOUNTD=""
coreos:
  units:
    - name: rpc-statd.service
      command: start
      enable: true
    - name: mnt-data.mount
      command: start
      content: |
        [Mount]
        What=nfshost.domain.com:/vol2/data
        Where=/mnt/data
        Type=nfs

 

posted @ 2016-08-02 18:12  shiningrise  阅读(335)  评论(0编辑  收藏  举报
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css