lib/nephophobia/image.rb in nephophobia-0.0.3 vs lib/nephophobia/image.rb in nephophobia-0.0.4
- old
+ new
@@ -70,9 +70,11 @@
private
##
# Images which do not have a valid kernel_id are not runnable.
def public? image
- image.is_public == "true" && image.kernel_id != "true"
+ image.is_public == "true" &&
+ image.kernel_id != "true" &&
+ image.image_type == "machine"
end
end
end