summaryrefslogtreecommitdiffstats
path: root/testModule/scripts/retry-nbdroot
diff options
context:
space:
mode:
authorJonathan Bauer2015-04-30 15:29:44 +0200
committerJonathan Bauer2015-04-30 15:29:44 +0200
commit2e98b0942de05bcc2eacd41b0bbac6ab70f620f5 (patch)
treeccd3b8ba6ecdedba0df5294bd54af7c2163a0348 /testModule/scripts/retry-nbdroot
parentFix. (diff)
downloadsystemd-init-2e98b0942de05bcc2eacd41b0bbac6ab70f620f5.tar.gz
systemd-init-2e98b0942de05bcc2eacd41b0bbac6ab70f620f5.tar.xz
systemd-init-2e98b0942de05bcc2eacd41b0bbac6ab70f620f5.zip
working version - STILL TESTING
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