ami: support HVM images in uploaded .txt files