From 7cb9733e52002120f87e5a198586a2d90d0502b2 Mon Sep 17 00:00:00 2001
From: Roger Luethi <rl@patchworkscience.org>
Date: Mon, 25 Aug 2014 14:41:45 +0200
Subject: [PATCH] labs: export only nodes that we built

Don't export all cluster nodes but only those that the script actually
built.

Change-Id: I9dcd778606e4f434a688fe536fc1b7421b8972aa
---
 labs/osbash.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/labs/osbash.sh b/labs/osbash.sh
index 8e06f20f..7a651c65 100755
--- a/labs/osbash.sh
+++ b/labs/osbash.sh
@@ -175,7 +175,7 @@ function export_appliance {
         done
         rm -f "$EXPORT_OVA"
         mkdir -pv "$IMG_DIR"
-        $VBM export controller network compute --output "$EXPORT_OVA"
+        $VBM export $nodes --output "$EXPORT_OVA"
         echo >&2 "Appliance exported"
         echo >&2 "Reattaching shared folders"
         local ii=0