aboutsummaryrefslogtreecommitdiffstats
path: root/run-fstests/util/get-config
diff options
context:
space:
mode:
Diffstat (limited to 'run-fstests/util/get-config')
-rw-r--r--run-fstests/util/get-config9
1 files changed, 9 insertions, 0 deletions
diff --git a/run-fstests/util/get-config b/run-fstests/util/get-config
index 1fe7cca0..7c3da1bf 100644
--- a/run-fstests/util/get-config
+++ b/run-fstests/util/get-config
@@ -149,4 +149,13 @@ if test "$XFSTESTS_FLAVOR" = "gce" ; then
GCE_SERIAL_PORT_ACCESS=TRUE
fi
+# must wait till config read in to set default image family since it
+# depends on ARCH,
+# if --arch passed to via cli, will need to update default ROOT_FS
+# if USING_DEFAULT_FAMILY is set
+ if test -z "$ROOT_FS" ; then
+ ROOT_FS="xfstests-$ARCH"
+ IMAGE_FLAG="--image-family"
+ USING_DEFAULT_FAMILY="yes"
+ fi
fi