summaryrefslogtreecommitdiffstats
path: root/testModule
diff options
context:
space:
mode:
authortorben2015-04-14 20:47:25 +0200
committertorben2015-04-14 20:47:25 +0200
commite1cd75c2183746d081d02d9dbf5f47252a24d233 (patch)
tree659b224a4a0df53f3a5c701a867426b0c09f38e8 /testModule
parentChecked all qemu-nbd options. (diff)
downloadsystemd-init-e1cd75c2183746d081d02d9dbf5f47252a24d233.tar.gz
systemd-init-e1cd75c2183746d081d02d9dbf5f47252a24d233.tar.xz
systemd-init-e1cd75c2183746d081d02d9dbf5f47252a24d233.zip
Sync.
Diffstat (limited to 'testModule')
-rw-r--r--testModule/hooks/pre-pivot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/testModule/hooks/pre-pivot.sh b/testModule/hooks/pre-pivot.sh
index cfe108ef..48591219 100644
--- a/testModule/hooks/pre-pivot.sh
+++ b/testModule/hooks/pre-pivot.sh
@@ -3,7 +3,8 @@ warn '............MOUNT.............'
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
-systemd_preserve_process_marker /usr/bin/qemu-nbd --connect /dev/nbd0 /test.qcow2 --socket /qemu-nbd-TEST --persistent
+# NOTE: "--persistent" doesn't work with wrapper.
+systemd_preserve_process_marker /usr/bin/qemu-nbd --connect /dev/nbd0 /test.qcow2 --socket /qemu-nbd-TEST
# --verbose &
#mount /dev/nbd0 /sysroot/TEST
# strace -ff -o /sysroot/log.txt -p PID