commit | 4b1068cbf15c29553f2ca3189b190bd4c716abd3 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Mon Aug 24 15:50:50 2015 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Mon Aug 24 15:50:50 2015 -0700 |
tree | be5d9c2e191100758b1d33e372f552ba7f2228ce | |
parent | 404c46dae8a63a29f738c323b30c82415224326f [diff] |
support the image that's installed from cloudlab-init
diff --git a/xos/tosca/imageselect.py b/xos/tosca/imageselect.py index 2c0064f..0cf4da8 100644 --- a/xos/tosca/imageselect.py +++ b/xos/tosca/imageselect.py
@@ -25,5 +25,9 @@ if found_imgs: return found_imgs[0] + found_imgs=images.filter(name="trusty-server-multi-nic") # demo + if found_imgs: + return found_imgs[0] + raise Exception("Failed to find an acceptable image")