aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tutorial')
-rwxr-xr-xscripts/tutorial/tutorial04-iget.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/tutorial/tutorial04-iget.sh b/scripts/tutorial/tutorial04-iget.sh
new file mode 100755
index 00000000..b7f54860
--- /dev/null
+++ b/scripts/tutorial/tutorial04-iget.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+lxc exec u1srv1 -- bash -c "iget http://u3srv1/$1" &
+lxc exec u1srv2 -- bash -c "iget http://u3srv1/$1" &
+lxc exec u2srv1 -- bash -c "iget http://u3srv1/$1" &
+wait $(jobs -p)