*/
protected String amiID(String remoteAddress)
throws MetadataServerException,
MetadataServerUnauthorizedException {
VM vm = this.getCachedAndValidatedVM(remoteAddress);
VMFile[] files = vm.getVMFiles();
for (VMFile file: files) {
if (file.isRootFile()) {
return this.justFilename(file.getURI().toASCIIString());
}
}