Wouter Verhelst wrote: > If you're going to create a default link (which is valid for every > client that uses the same /boot), then I don't think it's a good idea to > set up a file tuned to the client's MAC address; you may want to use the > same installation for many clients. OTOH, you may just want to set up > this one installation for that NFS root. > > Perhaps this could be a question for the user. Yeah, it could go either way, this nfs root might be used for only one, or many clients. Asking seems reasonable. > > - tftp server setup > > - next-server setup in the dhcp server > > Note that 'next-server' is only necessary if the DHCP and TFTP servers > aren't the same (otherwise you can get away with just 'filename'). Not > sure whether this is interesting enough to consider, though. Yeah, I meant filename and/or next-server. > > - /etc/exports > > - copy or bind mount (symlink won't usually work) the newly installed > > system's /boot into /var/lib/tftpboot/. Note that the location it's > > put in needs to match what d-i writes to the pxelinux.cfg file. > > Or change the TFTP server's configuration to point to newly installed > system's /boot instead of /var/lib/tftpboot. Well, if you have exactly one NFS root, or all the same, yes. But not in general. > > - Copy /var/lib/tftpboot/pxelinux.0 into place. > > - symlink or otherwise setup /var/lib/tftpboot/pxelinux.cfg/ > > > > It seems like it would suck to put all this detail on a debconf screen, > > especially since you can't even test it properly w/o rebooting. (Unless > > we wanted to put a tftp client in d-i. ;-) Best thing would probably be > > to give a simple url to a web page somewhere that explains the > > server-side setup in detail. > > You could provide a script in the NFS root to be ran on the server that > would set up everything, assuming a Debian NFS server is used. Yes, and d-i could even offer to ssh in and run it, but I'm not that much of a machocist.. I think. Generating a tarball that dumps all the necessary files into /var/lib/tftpboot, kinda like d-i's own netboot.tar.gz, might be another option. -- see shy jo
Attachment:
signature.asc
Description: Digital signature