mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +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 virtualization == 'hvm':
|
||||||
if backing != 'ebs':
|
if backing != 'ebs':
|
||||||
error('HVM AMIs currently only work when they are EBS backed', ['volume', 'backing'])
|
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']:
|
if bootloader == 'extlinux' and partition_type not in ['none', 'msdos']:
|
||||||
error('HVM AMIs booted with extlinux currently work with unpartitioned or msdos partitioned volumes',
|
error('HVM AMIs booted with extlinux currently work with unpartitioned or msdos partitioned volumes',
|
||||||
['volume', 'partitions', 'type'])
|
['volume', 'partitions', 'type'])
|
||||||
|
|
|
@ -31,6 +31,7 @@ properties:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- pvgrub
|
- pvgrub
|
||||||
|
- grub
|
||||||
- extlinux
|
- extlinux
|
||||||
volume:
|
volume:
|
||||||
type: object
|
type: object
|
||||||
|
|
Loading…
Add table
Reference in a new issue