diff options
author | jandob | 2015-11-26 18:10:45 +0100 |
---|---|---|
committer | jandob | 2015-11-26 18:10:45 +0100 |
commit | cd2e7a1445b82733e0a265542183c090d7643f98 (patch) | |
tree | 1b85a3541096c4fb5dc93c8b052a862ef440a1ca /builder/dnbd3-rootfs/module-setup.sh | |
parent | Merge branch 'master' of git.openslx.org:openslx-ng/systemd-init (diff) | |
download | systemd-init-cd2e7a1445b82733e0a265542183c090d7643f98.tar.gz systemd-init-cd2e7a1445b82733e0a265542183c090d7643f98.tar.xz systemd-init-cd2e7a1445b82733e0a265542183c090d7643f98.zip |
add documentation
Diffstat (limited to 'builder/dnbd3-rootfs/module-setup.sh')
-rwxr-xr-x | builder/dnbd3-rootfs/module-setup.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/builder/dnbd3-rootfs/module-setup.sh b/builder/dnbd3-rootfs/module-setup.sh index b730b516..9275863d 100755 --- a/builder/dnbd3-rootfs/module-setup.sh +++ b/builder/dnbd3-rootfs/module-setup.sh @@ -63,10 +63,16 @@ install() { inst_hook cmdline 10 "$moddir/hooks/cmdline/prepare-kernel-command-line-parameter.sh" inst_hook cmdline 90 "$moddir/hooks/cmdline/set-dracut-environment-variables.sh" + # load nbd.ko, dnbd3.ko inst_hook pre-udev 00 "$moddir/hooks/pre-udev/load-custom-kernel-modules.sh" + # TODO needed? inst_hook pre-udev 00 "$moddir/hooks/pre-udev/setup-loopback-device.sh" + # get the openslx config from the servers configured in the kernel command + # line (${SLX_SERVER}/${SLX_SERVER_BASE}/config) inst_hook pre-mount 00 "$moddir/hooks/pre-mount/fetch-config.sh" + # make the final blockdevice for the root system (dnbd3 -> qemu-nbd -> + # device-mapper) inst_hook pre-mount 10 "$moddir/hooks/pre-mount/prepare-root-partition.sh" inst_hook mount 10 "$moddir/hooks/mount/mount-root-device.sh" |