Generate make-fai-nfsroot.conf and nfsroot.conf on-the-fly
authorMichael Prokop <mika@grml.org>
Sun, 20 May 2012 10:48:21 +0000 (12:48 +0200)
committerMichael Prokop <mika@grml.org>
Sun, 20 May 2012 11:31:20 +0000 (13:31 +0200)
commit9e1c0433e556ebdbee391d37cf95aba0868255e1
tree205220390acfebf29defdade8fc87be679317f54
parent193203a7b81d595703d7da56e072d19cb21c5510
Generate make-fai-nfsroot.conf and nfsroot.conf on-the-fly

FAI 4 uses nfsroot.conf instead of make-fai-nfsroot.conf without
providing any backwards compatibility. :( So while at it rework
the way how make-fai-nfsroot.conf is handled:

* No longer ship /etc/grml/fai/make-fai-nfsroot.conf at all
* Generate nfsroot.conf based on default settings (can be overriden
  by $FAI_DEBOOTSTRAP + $FAI_DEBOOTSTRAP_OPTS) on the fly
* Provide symlink make-fai-nfsroot.conf pointing to nfsroot.conf
  to support old and new FAI versions at the same time
* After execution copy generated nfsroot.conf file to log directory
  and get rid of make-fai-nfsroot.conf and nfsroot.conf in
  $GRML_FAI_CONFIG (/etc/grml/fai/ by default) afterwards

Closes: https://github.com/grml/grml-live/issues/4
docs/grml-live.txt
etc/grml/fai/make-fai-nfsroot.conf [deleted file]
etc/grml/grml-live.conf
grml-live