ISO/configs/releng
Gerardo Exequiel Pozzi 76dea1654e [archiso] Add PXE NFS support
It add support for using *.sfs images via NFS.

It must be located after archiso_pxe_nbd in mkinitcpio.conf, in that way
NBD is the default.

New boot parameters:

    archiso_nfs_srv=IP:/path
         Set the NFS IP and path. Accepts ${pxeserver} as IP.

    archiso_nfs_opt= Sets NFS mount opts (comma separated)
                    Defaults to:
                      port            = as given by server portmap daemon
                      rsize           = 1024
                      wsize           = 1024
                      timeo           = 7
                      retrans         = 3
                      acregmin        = 3
                      acregmax        = 60
                      acdirmin        = 30
                      acdirmax        = 60
                      flags           = hard, nointr, noposix, cto, ac

:: Running Hook [archiso_pxe_common]
IP-Config: eth0 hardware address 52:54:00:12:34:57 mtu 1500
IP-Config: eth0 guessed broadcast address 192.168.0.255
IP-Config: eth0 guessed nameserver address 192.168.0.218
IP-Config: eth0 complete (from 192.168.0.218):
 address: 192.168.0.90     broadcast: 192.168.0.255    netmask: 255.255.255.0
 gateway: 192.168.0.218    dns0     : 192.168.0.218    dns1   : 0.0.0.0
 rootserver: 192.168.0.218 rootpath:
 filename  :
:: Running Hook [archiso_pxe_nbd]
:: Running Hook [archiso_pxe_curl]
:: Running Hook [archiso_pxe_nfs]
:: Mounting '192.168.0.77:/mnt/iso'

...
192.168.0.77:/mnt/iso/ on /run/archiso/bootmnt type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nolock,proto=tcp,port=65535,timeo=7,retrans=3,sec=sys,local_lock=all,addr=192.168.0.77)
...

My /etc/exports
/mnt/iso 192.168.0.90(ro,no_subtree_check,no_root_squash)
2011-11-28 12:28:03 -03:00
..
isolinux [archiso] Use dm-snapshot instead of aufs2 (A.K.A. "The Big Commit") 2011-06-18 18:38:27 -03:00
root-image [archiso] Unify -> 2011-10-12 14:40:19 -03:00
syslinux [archiso] Update kernel image name for linux-3.0 2011-07-24 18:25:33 -03:00
syslinux.dual [configs/releng] Add missing serial console support to syslinux 2011-08-18 22:08:48 -03:00
aitab.core [configs/releng] Set /lib/modules with 50% of free space 2011-08-18 22:26:08 -03:00
aitab.netinstall [configs/releng] Set /lib/modules with 50% of free space 2011-08-18 22:26:08 -03:00
build.sh [archiso] Add PXE NFS support 2011-11-28 12:28:03 -03:00
core.exclude.i686 [archiso] Use dm-snapshot instead of aufs2 (A.K.A. "The Big Commit") 2011-06-18 18:38:27 -03:00
core.exclude.x86_64 [archiso] Use dm-snapshot instead of aufs2 (A.K.A. "The Big Commit") 2011-06-18 18:38:27 -03:00
mkinitcpio.conf [archiso] Add PXE NFS support 2011-11-28 12:28:03 -03:00
packages.i686 [archiso] Add archiso_pxe_curl hook 2011-11-28 12:28:03 -03:00
packages.x86_64 [archiso] Add archiso_pxe_curl hook 2011-11-28 12:28:03 -03:00