This commit is contained in:
Anders Ingemann 2015-04-08 21:59:41 +02:00
parent 4ad1d51624
commit 8364f824b0

View file

@ -54,7 +54,7 @@ def validate_manifest(data, validator, error):
if bootloader != 'extlinux': if bootloader != 'extlinux':
error('HVM AMIs currently only work with extlinux as a bootloader', ['system', 'bootloader']) error('HVM AMIs currently only work with extlinux as a bootloader', ['system', 'bootloader'])
if bootloader == 'extlinux' and partition_type not in ['none', 'msdos']: if bootloader == 'extlinux' and partition_type not in ['none', 'msdos']:
error('HVM AMIs booted with extlinux currently work with unpartitioned or msdos partitions volumes', error('HVM AMIs booted with extlinux currently work with unpartitioned or msdos partitioned volumes',
['volume', 'partitions', 'type']) ['volume', 'partitions', 'type'])
if backing == 's3': if backing == 's3':