Замечания по NFS root
См. также FrBrGeorge/BookP5/NetworkInstall
[root@school netinst]# diff /etc/exports* 1c1 < /srv/public -ro,insecure,no_root_squash,no_subtree_check,fsid=1 * --- > /srv/public -ro,insecure,no_subtree_check,fsid=1 *
[root@school netinst]# cat pxelinux.cfg.live default linux prompt 0 timeout 100 gfxboot syslinux/bootlogo display syslinux/boot.msg implicit 1 label linux kernel syslinux/alt0/vmlinuz append initrd=syslinux/alt0/full.cz live lang=ru_RU fastboot vga=0x314 splash=silent splashcount=17 stagename=live showopts automatic=method:nfs,network:dhcp,server:10.20.30.1,directory:/srv/public/netinst tz=Europe/Moscow
[root@school ~]# diff -u /etc/init.d/remount_rw{.orig,} --- /etc/init.d/remount_rw.orig 2011-01-27 17:09:41 +0000 +++ /etc/init.d/remount_rw 2011-01-27 17:10:48 +0000 @@ -747,4 +747,7 @@ popd > /dev/null 2>&1 +# AUFS bug workaround /*G*/ +find /[^ipd]* -type d > /dev/null + exit 0 # Go to exit handler
[root@school ~]# diff -u /etc/init.d/livecd-save-nfs{.orig,} --- /etc/init.d/livecd-save-nfs.orig 2011-01-27 17:53:20 +0000 +++ /etc/init.d/livecd-save-nfs 2011-01-27 17:50:29 +0000 @@ -19,6 +19,8 @@ mkdir -p /etc/net/ifaces/$iface echo 'NM_CONTROLLED=no' >> /etc/net/ifaces/$iface/options echo 'BOOTPROTO=dhcp' >> /etc/net/ifaces/$iface/options + addr=$(ip -o a s dev $iface | sed -n '/inet /s@.*inet \([0-9.]*\).*@\1@p' ) + test -z "$addr" || dhcpcd -pr $addr $iface fi true }
[root@school ~]# su - altlinux [altlinux@school ~]$ ssh-keygen
http://toroid.org/ams/git-website-howto
-bash-3.2$ tail -1 /etc/passwd altlinux:x:500:500:NFSROOT:/srv/public/netinst/live/home/altlinux.git:/bin/bash