ec2: support more registerimage options