diff options
author | Neil Williams <codehelp@debian.org> | 2015-08-31 20:16:52 +0100 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-08-31 20:16:52 +0100 |
commit | bdeaffe0b9f787e789fedf5c00d66816688e4147 (patch) | |
tree | 3925f182dd1014904545b32d37aca7ed33e71a54 | |
parent | 96e0463569cb5deaef8e40c7a54fcebbe663ccf5 (diff) | |
download | vmdebootstrap-bdeaffe0b9f787e789fedf5c00d66816688e4147.tar.gz |
port bug fix change from 0.10
-rwxr-xr-x | bin/vmdebootstrap | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap index a5cec40..db88d35 100755 --- a/bin/vmdebootstrap +++ b/bin/vmdebootstrap @@ -214,7 +214,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 arch_table[self.settings['arch']]['exclusive'] and\ + if self.settings['arch'] in arch_table and\ + arch_table[self.settings['arch']]['exclusive'] and\ not self.settings['use-uefi']: raise cliapp.AppException( 'Only UEFI is supported on %s' % self.settings['arch']) |