defaultenv-2: add automount for nfs
Automatically mount the path that is also used for net booting by default to /mnt/nfs. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
2096b4f8a0
commit
b31b7cf7e8
|
@ -10,11 +10,11 @@ fi
|
|||
mkdir -p /mnt/tftp
|
||||
automount /mnt/tftp 'ifup eth0 && mount -t tftp $eth0.serverip /mnt/tftp'
|
||||
|
||||
# automount nfs server example
|
||||
# automount nfs server's nfsroot
|
||||
|
||||
mkdir -p /mnt/nfs
|
||||
automount /mnt/nfs 'ifup eth0 && mount -t nfs ${eth0.serverip}:/home/${global.user}/nfsroot/${global.hostname} /mnt/nfs'
|
||||
|
||||
#nfshost=somehost
|
||||
#mkdir -p /mnt/${nfshost}
|
||||
#automount /mnt/$nfshost "ifup eth0 && mount -t nfs ${nfshost}:/tftpboot /mnt/${nfshost}"
|
||||
|
||||
# FAT on usb disk example
|
||||
|
||||
|
|
Loading…
Reference in New Issue