diff options
| author | torben | 2015-04-13 20:15:29 +0200 |
|---|---|---|
| committer | torben | 2015-04-13 20:15:29 +0200 |
| commit | 75abace71d151e3420e171496c50d2c6a3091163 (patch) | |
| tree | 492fe2d5a0ee7b96541c7c4389cf82f20baf9b36 /testModule/hooks/pre-mount.sh | |
| parent | Code refactoring. (diff) | |
| download | systemd-init-75abace71d151e3420e171496c50d2c6a3091163.tar.gz systemd-init-75abace71d151e3420e171496c50d2c6a3091163.tar.xz systemd-init-75abace71d151e3420e171496c50d2c6a3091163.zip | |
Fix refactoring bugs.
Diffstat (limited to 'testModule/hooks/pre-mount.sh')
| -rw-r--r-- | testModule/hooks/pre-mount.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/testModule/hooks/pre-mount.sh b/testModule/hooks/pre-mount.sh index 301381e6..79ae47fa 100644 --- a/testModule/hooks/pre-mount.sh +++ b/testModule/hooks/pre-mount.sh @@ -2,13 +2,8 @@ warn '............START.............' insmod /usr/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/dnbd3.ko - -#dnbd3-client --daemon & -#sleep 3 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' 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 -wrap qemu-nbd -c /dev/nbd0 /test.qcow2 - -#wrap /usr/bin/bash -c 'while true; do wget http://10.126.2.184:8080; sleep 10; done' & +systemd_preserve_process_marker qemu-nbd -c /dev/nbd0 /test.qcow2 |
