Commits

Anonymous committed 35e36bc

add comment for -1 on the swap size

Comments (0)

Files changed (1)

vinstall/controller/automatic.py

         
         root_size = disk_size - swap_size
         partitioner.add_partition(size=root_size, units='MiB')
+        # Subtract 1MB from the swap size to let pyparted align the partitions right.
         partitioner.add_partition(size=swap_size-1, units='MiB')
         partitioner.write_changes()