summaryrefslogtreecommitdiffstats
path: root/testModule/scripts/retry-nbdroot
diff options
context:
space:
mode:
authortorben2015-05-04 13:57:16 +0200
committertorben2015-05-04 13:57:16 +0200
commit0ddd93e6daec1c2eadb025bbc7ab90b9e865516c (patch)
tree58d84520e5a7f802f1fc0abdca7933f47c4d5b4d /testModule/scripts/retry-nbdroot
parentPepare merge. (diff)
parentworking version - STILL TESTING (diff)
downloadsystemd-init-0ddd93e6daec1c2eadb025bbc7ab90b9e865516c.tar.gz
systemd-init-0ddd93e6daec1c2eadb025bbc7ab90b9e865516c.tar.xz
systemd-init-0ddd93e6daec1c2eadb025bbc7ab90b9e865516c.zip
Merge branch 'master' of git.openslx.org:openslx-ng/systemd-init
Diffstat (limited to 'testModule/scripts/retry-nbdroot')
-rwxr-xr-xtestModule/scripts/retry-nbdroot5
1 files changed, 5 insertions, 0 deletions
diff --git a/testModule/scripts/retry-nbdroot b/testModule/scripts/retry-nbdroot
new file mode 100755
index 00000000..8eb4bd27
--- /dev/null
+++ b/testModule/scripts/retry-nbdroot
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+[ -f /tmp/qemu-nbd.pid ] || exit 1
+
+/sbin/nbdroot eno1 nbd:127.0.0.1:2000 /sysroot