Adjust registration of ami image in boto tests

Adjust registration of ami image in boto tests to be compatible with
stackforge ec2api.

This change set kernel_id and ramdisk_id properties of an ami image. As
a result the image could be used to run an instance without specifying
of these additional images.

Nova EC2 doesn't support set of these attributes in register image
operation (LP #954335). So a run operation must specify both of them.
Ec2api doesn't support specifying these in run operation (LP #1441138).
So registration of ami image must set both of them.

Now both requirements are satisfied, thus this testcase should work
properly for both Nova EC2 and ec2api.

Change-Id: I36ef88a561e60fb5dc3e687cb8bc02b27ec2e814
1 file changed