X-Git-Url: https://git.siccegge.de//index.cgi?p=forks%2Fvmdebootstrap.git;a=blobdiff_plain;f=vmdebootstrap;fp=vmdebootstrap;h=a85351d2ed7e8377f306c668ff086b55055cd31b;hp=e44fe1e5a5ca2f10434c786fa89bf8846b1ed34a;hb=1f4e2f86f39f16c3fe12706b9ac30a9554f44c09;hpb=8063a5bcaf28421c33881aab5af3df987303bf1a diff --git a/vmdebootstrap b/vmdebootstrap index e44fe1e..a85351d 100755 --- a/vmdebootstrap +++ b/vmdebootstrap @@ -243,7 +243,8 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth if not self.settings['use-uefi'] and self.settings['esp-size'] != 5242880: raise cliapp.AppException( 'You must specify use-uefi for esp-size to have effect') - if self.efi_arch_table[self.settings['arch']]['exclusive'] and\ + if self.settings['arch'] in self.efi_arch_table and\ + self.efi_arch_table[self.settings['arch']]['exclusive'] and\ not self.settings['use-uefi']: raise cliapp.AppException( 'Only UEFI is supported on %s' % self.settings['arch'])