Index: image_to_vm.sh |
diff --git a/image_to_vm.sh b/image_to_vm.sh |
index c2fb82b748584623564cff685fd1899ee15d16b5..f0c6e654fa23a945800617ef0b95f19b38da343b 100755 |
--- a/image_to_vm.sh |
+++ b/image_to_vm.sh |
@@ -74,7 +74,7 @@ fi |
IMAGES_DIR="${DEFAULT_BUILD_ROOT}/images/${FLAGS_board}" |
# Default to the most recent image |
if [ -z "${FLAGS_from}" ] ; then |
- FLAGS_from="$(./get_latest_image.sh)" |
+ FLAGS_from="$(./get_latest_image.sh --board=${FLAGS_board})" |
else |
pushd "${FLAGS_from}" && FLAGS_from=`pwd` && popd |
fi |