summaryrefslogtreecommitdiffstats
path: root/testModule/hooks/pre-mount.sh
diff options
context:
space:
mode:
authortorben2015-04-14 17:58:35 +0200
committertorben2015-04-14 17:58:35 +0200
commitb4a9dea1aed0919448b4fe8fc993eaa04f0d9e8c (patch)
tree4c1a333db46ed0d69c059d4749bf6c9f9c8b040b /testModule/hooks/pre-mount.sh
parentFixes. (diff)
downloadsystemd-init-b4a9dea1aed0919448b4fe8fc993eaa04f0d9e8c.tar.gz
systemd-init-b4a9dea1aed0919448b4fe8fc993eaa04f0d9e8c.tar.xz
systemd-init-b4a9dea1aed0919448b4fe8fc993eaa04f0d9e8c.zip
Some tries to fix kernel panic.
Diffstat (limited to 'testModule/hooks/pre-mount.sh')
-rw-r--r--testModule/hooks/pre-mount.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/testModule/hooks/pre-mount.sh b/testModule/hooks/pre-mount.sh
index b29dbeb4..7798622e 100644
--- a/testModule/hooks/pre-mount.sh
+++ b/testModule/hooks/pre-mount.sh
@@ -2,9 +2,9 @@
warn '............START.............'
insmod /usr/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/dnbd3.ko
-local dnbd3_device_node="$(dnbd3-client -h 132.230.4.1 -i stage4/torben/test -r 1 -d /dev/dnbd0)"
-dnbd3_device_node='/dev/dnbd0'
-# TODO sysroot normally not available yet.
-qemu-img create -f qcow2 -o backing_file="$dnbd3_device_node",backing_fmt=qcow2 /test.qcow2
-insmod /usr/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/nbd.ko
-systemd_preserve_process_marker qemu-nbd -c /dev/nbd0 /test.qcow2
+local dnbd3_device_node="$(dnbd3-client -h 132.230.4.1 -i stage4/torben/test \
+ -r 1 -d /dev/dnbd0)"
+#qemu-img create -f qcow2 -o \
+# backing_file="$dnbd3_device_node",backing_fmt=qcow2 /test.qcow2
+#insmod /usr/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/nbd.ko
+#systemd_preserve_process_marker qemu-nbd -c /dev/nbd0 /test.qcow2