From 10d670d5da02bf569660478e6ac5c82f3e04f65c Mon Sep 17 00:00:00 2001 From: torben Date: Fri, 11 Mar 2016 11:30:09 +0100 Subject: Tidy up readme. --- builder/INSTALL | 19 ------------------- builder/readme.md | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 19 deletions(-) delete mode 100644 builder/INSTALL create mode 100644 builder/readme.md (limited to 'builder') diff --git a/builder/INSTALL b/builder/INSTALL deleted file mode 100644 index 223d8942..00000000 --- a/builder/INSTALL +++ /dev/null @@ -1,19 +0,0 @@ -This subfolder is dedicated to dracut related files. - -The folder 'dnbd3-rootfs' is a dracut module used to setup -a client's rootfs based on a (read-only) dnbd3 export made writable -through the kernel device mapper features. - -To use this module within dracut, you simply need to copy/link/mount -the above mentioned folder to '/usr/lib/dracut/modules.d' prefixed -with a numerical priority. We used '90' so far, so the module was linked -to '/usr/lib/dracut/modules.d/90dnbd3-rootfs'. - -Once the module has been integrated in dracut's modules, you can build -the initramfs with the following command: - - dracut --no-hostonly --modules "dnbd3-rootfs" - -Note that the '--no-hostonly' is critical if the machine dracut is -executed on and the clients supposed to boot the resulting initramfs -differ. diff --git a/builder/readme.md b/builder/readme.md new file mode 100644 index 00000000..113d30c2 --- /dev/null +++ b/builder/readme.md @@ -0,0 +1,21 @@ +This subfolder is dedicated to dracut related files. + +The folder 'dnbd3-rootfs' is a dracut module used to setup +a client's rootfs based on a (read-only) dnbd3 export made writable +through the kernel device mapper features. + +To use this module within dracut, you simply need to copy/link/mount +the above mentioned folder to '/usr/lib/dracut/modules.d' prefixed +with a numerical priority. We used '90' so far, so the module was linked +to '/usr/lib/dracut/modules.d/90dnbd3-rootfs'. + +Once the module has been integrated in dracut's modules, you can build +the initramfs with the following command: + + dracut --no-hostonly --modules "dnbd3-rootfs" + +Note that the '--no-hostonly' is critical if the machine dracut is +executed on and the clients supposed to boot the resulting initramfs +differ. + +For more informations see: https://lab.ks.uni-freiburg.de/projects/dracut-praktikum/wiki -- cgit v1.2.3-55-g7522