maybe fix CI
This commit is contained in:
parent
283e07a615
commit
bc11d0df3e
|
@ -565,6 +565,9 @@ class FilesystemController(SubiquityController, FilesystemManipulator):
|
|||
raise Exception('failed to locate gap after adding boot')
|
||||
|
||||
if choice.reset_partition:
|
||||
if self.app.opts.dry_run:
|
||||
reset_size = 500*MiB
|
||||
else:
|
||||
cp = await arun_command(['du', '-sb', '/cdrom'])
|
||||
reset_size = int(cp.stdout.strip().split()[0])
|
||||
reset_size = align_up(int(reset_size * 1.10), 256 * MiB)
|
||||
|
|
Loading…
Reference in New Issue