Skip to content
Snippets Groups Projects
Commit ad951308 authored by Florent Thiery's avatar Florent Thiery
Browse files

warn if unallocated space is found

parent e05fd6fc
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,7 @@ def check_allocation(dev):
unallocated = max_size - total_size
unallocated_gbytes = to_gbytes(unallocated)
if unallocated_gbytes > 1:
print('Warning, %s GB are unallocated on %s' % (unallocated_gbytes, root_dev))
return False
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment