-
Committer:
Scott Moser
-
Date:
2011-12-16 01:44:20 UTC
-
Revision ID:
smoser@ubuntu.com-20111216014420-w1zuj40w6ioiu55d
publish-image: do not match ebs images when looking for instance-store
when looking for an existing image, we were searching like this:
/ubuntu.images/ubuntu-natty-11.04-i386-server-20111003
which would match both
099720109477/ebs/ubuntu-images/ubuntu-natty-11.04-i386-server-20111003
and
099720109477/ubuntu-images/ubuntu-natty-11.04-i386-server-20111003
This changes the search to explicitly skip names matching the '/ebs/' token