mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-10-07 17:40:30 +00:00
Add helpful message to volsize%1024 error
This commit is contained in:
parent
1b5a1e0579
commit
c95b9077e5
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ class Manifest(base.Manifest):
|
|||
if data['volume']['backing'] == 'ebs':
|
||||
volume_size = self._calculate_volume_size(data['volume']['partitions'])
|
||||
if volume_size % 1024 != 0:
|
||||
msg = 'The volume size must be a multiple of 1024 when using EBS backing'
|
||||
msg = ('The volume size must be a multiple of 1024 when using EBS backing '
|
||||
'(MBR partitioned volumes are 1MB larger than specified, for the post-mbr gap)')
|
||||
raise ManifestError(msg, self)
|
||||
else:
|
||||
schema_path = path.join(path.dirname(__file__), 'manifest-schema-s3.json')
|
||||
|
|
Loading…
Add table
Reference in a new issue