mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-10-10 09:09:50 +00:00
Fix wrong bootloader vs. virtualization check
This commit is contained in:
parent
40f208c151
commit
3e4882128e
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ def validate_manifest(data, validator, error):
|
|||
|
||||
if data['virtualization'] == 'pvm' and data['system']['bootloader'] != 'pvgrub':
|
||||
error('Paravirtualized AMIs only support pvgrub as a bootloader', ['system', 'bootloader'])
|
||||
if data['virtualization'] == 'hvm' and data['system']['bootloader'] == 'pvgrub':
|
||||
if data['virtualization'] == 'hvm' and data['system']['bootloader'] != 'extlinux':
|
||||
error('HVM AMIs only support extlinux as a bootloader', ['system', 'bootloader'])
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue