diff options
Diffstat (limited to 'scripts/runqemu-export-rootfs')
| -rwxr-xr-x | scripts/runqemu-export-rootfs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/runqemu-export-rootfs b/scripts/runqemu-export-rootfs index fec288accd..f8213ba4ef 100755 --- a/scripts/runqemu-export-rootfs +++ b/scripts/runqemu-export-rootfs | |||
| @@ -83,10 +83,12 @@ NFS_MOUNTPROG=$[ 21111 + $NFS_INSTANCE ] | |||
| 83 | NFS_NFSPROG=$[ 11111 + $NFS_INSTANCE ] | 83 | NFS_NFSPROG=$[ 11111 + $NFS_INSTANCE ] |
| 84 | # NFS port number | 84 | # NFS port number |
| 85 | NFS_PORT=$[ 3049 + $NFS_INSTANCE ] | 85 | NFS_PORT=$[ 3049 + $NFS_INSTANCE ] |
| 86 | # mountd port number | ||
| 87 | MOUNT_PORT=$[ 3048 + $NFS_INSTANCE ] | ||
| 86 | 88 | ||
| 87 | ## For debugging you would additionally add | 89 | ## For debugging you would additionally add |
| 88 | ## --debug all | 90 | ## --debug all |
| 89 | MOUNTD_OPTS="--allow-non-root --mount-pid $MOUNTPID -f $EXPORTS --rmtab $RMTAB --prog $NFS_MOUNTPROG -r" | 91 | MOUNTD_OPTS="--allow-non-root --mount-pid $MOUNTPID -f $EXPORTS --rmtab $RMTAB --prog $NFS_MOUNTPROG -r -P $MOUNT_PORT" |
| 90 | NFSD_OPTS="--allow-non-root --nfs-pid $NFSPID -f $EXPORTS --prog $NFS_NFSPROG -P $NFS_PORT -r" | 92 | NFSD_OPTS="--allow-non-root --nfs-pid $NFSPID -f $EXPORTS --prog $NFS_NFSPROG -P $NFS_PORT -r" |
| 91 | 93 | ||
| 92 | # Setup the exports file | 94 | # Setup the exports file |
