Исправлена авторазметка

master3.3 3.1.9
Mike khiretskiy 11 years ago
parent 28a277f6aa
commit 4a5eccc26f

@ -87,7 +87,7 @@ class AutoPartition:
"""
Autopartition maker
"""
def recreateSpace(self,table,device,data,lvm,vgname,bios_grub):
def recreateSpace(self,table,device,data,lvm,vgname,bios_grub,bios_grub_size):
"""
Recreate disk space by table device data lvm flag and vgname
@ -158,7 +158,7 @@ class AutoPartition:
WRITE_AND_QUIT = "w\ny\n"
BIOS_BOOT_PART_NUM = 4
BIOS_BOOT_PART_SIZE = "%dM"%(bios_grub_size / Sizes.M)
BIOS_BOOT_PART_SIZE = "%dM"%(int(bios_grub_size) / Sizes.M)
fdiskProg = getProgPath('/usr/sbin/gdisk')
fdisk = process(fdiskProg,device[0])

Loading…
Cancel
Save