Skip to content

Commit 2b4788d

Browse files
authored
Update setup.md
1 parent 2a70a46 commit 2b4788d

File tree

1 file changed

+4
-4
lines changed
  • content/learning-paths/servers-and-cloud-computing/glibc-linux-fvp

1 file changed

+4
-4
lines changed

content/learning-paths/servers-and-cloud-computing/glibc-linux-fvp/setup.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Add this line to the `/etc/exports` file (we presume that host user ID is `1000`
221221
is `1000`, amend according to your actual setup):
222222

223223
```
224-
/home/user 172.17.0.0/24(rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000,insecure)
224+
/home/user/workspace 172.17.0.0/24(rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000,insecure)
225225
```
226226

227227
We allow access only from clients within the Docker network (`172.17.0.0/24`) and use the `insecure`
@@ -238,8 +238,8 @@ sudo systemctl restart nfs-kernel-server
238238
Now, SSH into the guest system as root and continue the setup on the guest side:
239239

240240
```bash
241-
mkdir -p /home/user
242-
chown user:user /home/user
241+
mkdir -p /home/user/workspace
242+
chown user:user /home/user/workspace
243243
```
244244

245245
Edit the guest system's `/etc/fstab` to mount the NFS share automatically when the system running
@@ -248,7 +248,7 @@ on the FVP boots:
248248
```bash
249249
grep "FVP NFS shared folder" /etc/fstab > /dev/null || {
250250
echo "# FVP NFS shared folder" >> /etc/fstab
251-
echo "172.17.0.1:/home/user /home/user nfs4 defaults,_netdev 0 0" >> /etc/fstab
251+
echo "172.17.0.1:/home/user/workspace /home/user/workspace nfs4 defaults,_netdev 0 0" >> /etc/fstab
252252
}
253253
```
254254

0 commit comments

Comments
 (0)