Enable grub for hvm AMIs

This commit is contained in:
Anders Ingemann 2015-04-08 23:16:22 +02:00
parent 411578a498
commit 736852a959
2 changed files with 1 additions and 2 deletions

View file

@ -51,8 +51,6 @@ def validate_manifest(data, validator, error):
if virtualization == 'hvm':
if backing != 'ebs':
error('HVM AMIs currently only work when they are EBS backed', ['volume', 'backing'])
if bootloader != 'extlinux':
error('HVM AMIs currently only work with extlinux as a bootloader', ['system', 'bootloader'])
if bootloader == 'extlinux' and partition_type not in ['none', 'msdos']:
error('HVM AMIs booted with extlinux currently work with unpartitioned or msdos partitioned volumes',
['volume', 'partitions', 'type'])

View file

@ -31,6 +31,7 @@ properties:
type: string
enum:
- pvgrub
- grub
- extlinux
volume:
type: object