From: Michael Prokop Date: Sun, 20 May 2012 10:48:21 +0000 (+0200) Subject: Generate make-fai-nfsroot.conf and nfsroot.conf on-the-fly X-Git-Tag: v0.19.2~9 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=4bc598a000f21b1d3d9bbbf55e0e3d61b68fe507;hp=4bc598a000f21b1d3d9bbbf55e0e3d61b68fe507 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 Note: existing make-fai-nfsroot.conf files will be moved to make-fai-nfsroot.conf.outdated to avoid possible data loss. Closes: https://github.com/grml/grml-live/issues/4 ---