diff options
| author | torben | 2015-04-13 19:55:58 +0200 |
|---|---|---|
| committer | torben | 2015-04-13 19:55:58 +0200 |
| commit | 105f29aa50fe7d3324cb109714af7d0b3c2c27df (patch) | |
| tree | 22d2253071223b7897a50be86ab0efd74139578b /testModule/pre-mount.sh | |
| parent | Adding remotly notifyable test initramfs service. (diff) | |
| download | systemd-init-105f29aa50fe7d3324cb109714af7d0b3c2c27df.tar.gz systemd-init-105f29aa50fe7d3324cb109714af7d0b3c2c27df.tar.xz systemd-init-105f29aa50fe7d3324cb109714af7d0b3c2c27df.zip | |
Adding endless test service. Fix some naming conventions.
Diffstat (limited to 'testModule/pre-mount.sh')
| -rw-r--r-- | testModule/pre-mount.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testModule/pre-mount.sh b/testModule/pre-mount.sh new file mode 100644 index 00000000..301381e6 --- /dev/null +++ b/testModule/pre-mount.sh @@ -0,0 +1,14 @@ +# TODO +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' & |
