summaryrefslogtreecommitdiffstats
path: root/dracut/INSTALL
diff options
context:
space:
mode:
authorJonathan Bauer2015-05-27 16:32:57 +0200
committerJonathan Bauer2015-05-27 16:32:57 +0200
commit0abace2bbec9e17a3630c463e4e3c329c967334b (patch)
tree986a9bebd62c2dd596c85bf44bbec68d00cccd13 /dracut/INSTALL
parentremoved hacked systemd rpms and grub2.conf (diff)
downloadsystemd-init-0abace2bbec9e17a3630c463e4e3c329c967334b.tar.gz
systemd-init-0abace2bbec9e17a3630c463e4e3c329c967334b.tar.xz
systemd-init-0abace2bbec9e17a3630c463e4e3c329c967334b.zip
restructuring & bit of documentation ;)
dracut module now in 'dnbd3-qcow2-rootfs'. ALLLLL dracut related stuff goes in here!
Diffstat (limited to 'dracut/INSTALL')
-rw-r--r--dracut/INSTALL19
1 files changed, 19 insertions, 0 deletions
diff --git a/dracut/INSTALL b/dracut/INSTALL
new file mode 100644
index 00000000..e52f0c39
--- /dev/null
+++ b/dracut/INSTALL
@@ -0,0 +1,19 @@
+This subfolder is dedicated to dracut related files.
+
+The folder 'dnbd3-qcow2-rootfs' is a dracut module used to setup
+a client's rootfs based on a (read-only) dnbd3 export made writable
+through the qcow2 container format of the qemu ecosystem.
+
+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-qcow2-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-qcow2-rootfs" <target_path>
+
+Note that the '--no-hostonly' is critical if the machine dracut is
+executed on and the clients supposed to boot the resulting initramfs
+differ.