mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Enable grub for hvm AMIs
This commit is contained in:
parent
411578a498
commit
736852a959
2 changed files with 1 additions and 2 deletions
|
@ -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'])
|
||||
|
|
|
@ -31,6 +31,7 @@ properties:
|
|||
type: string
|
||||
enum:
|
||||
- pvgrub
|
||||
- grub
|
||||
- extlinux
|
||||
volume:
|
||||
type: object
|
||||
|
|
Loading…
Add table
Reference in a new issue