Skip to content
Snippets Groups Projects
Commit 5b53c1dd authored by alice grosch's avatar alice grosch
Browse files

Fiz jsccloud software mount path

parent ed70351d
Branches
Tags
No related merge requests found
...@@ -46,8 +46,8 @@ runcmd: ...@@ -46,8 +46,8 @@ runcmd:
- echo "$(date) - Upgrade all packages done" >> /home/ubuntu/start.log - echo "$(date) - Upgrade all packages done" >> /home/ubuntu/start.log
- echo "$(date) - Configure autofs" >> /home/ubuntu/start.log - echo "$(date) - Configure autofs" >> /home/ubuntu/start.log
- systemctl stop autofs - systemctl stop autofs
- mkdir -p /p/jsccloud/software - mkdir -p /p/software/jsccloud
- echo "/p/jsccloud/software -fstype=nfs,rw,vers=4,minorversion=2,proto=tcp,hard,nobind,rsize=32768,wsize=32768,nodiratime,fsc,timeo=100,noatime,nosuid,intr,nodev 10.0.2.249:/p/software" >> /etc/auto.nfs - echo "/p/software/jsccloud -fstype=nfs,rw,vers=4,minorversion=2,proto=tcp,hard,nobind,rsize=32768,wsize=32768,nodiratime,fsc,timeo=100,noatime,nosuid,intr,nodev 10.0.2.249:/p/software" >> /etc/auto.nfs
- echo "$(date) - Enable autofs" >> /home/ubuntu/start.log - echo "$(date) - Enable autofs" >> /home/ubuntu/start.log
- echo "/- /etc/auto.nfs --ghost --timeout=86400" >> /etc/auto.master - echo "/- /etc/auto.nfs --ghost --timeout=86400" >> /etc/auto.master
- systemctl enable --now autofs - systemctl enable --now autofs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment