diff options
-rwxr-xr-x | catalyst/nfsroot/2008.0/overlay/boot/stateless.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/catalyst/nfsroot/2008.0/overlay/boot/stateless.sh b/catalyst/nfsroot/2008.0/overlay/boot/stateless.sh index ab59076..b3fa85b 100755 --- a/catalyst/nfsroot/2008.0/overlay/boot/stateless.sh +++ b/catalyst/nfsroot/2008.0/overlay/boot/stateless.sh @@ -55,7 +55,9 @@ ahosts() { echo "Setting rootserver to $ROOTSERV in /etc/hosts file..." echo "$ROOTSERV rootserver" >> /etc/hosts echo "Setting up fstab" - echo "$ROOTSERV:$ROOTPATH / nfs ro,defaults,hard,intr,actimeo=120,timeo=14,tcp 0 1" > /etc/fstab + echo "# Auto-generated at boot time by $0" + echo "$ROOTSERV:$ROOTPATH / nfs ro,defaults,hard,intr,actimeo=120,timeo=14,tcp 0 1" > /etc/fstab + echo "$ROOTSERV:/home /home nfs rw,defaults,hard,intr,actimeo=120,timeo=14,tcp 0 1" >> /etc/fstab } # get_param: parses parameters in PARSELINE which could be, for example, the kernel's command line |