Commit 1d566d6 change partitioning alignment to be optimal rhbz#990469

1 file Authored and Committed by ausil 3 years ago
change partitioning alignment to be optimal rhbz#990469

    
1 @@ -108,7 +108,7 @@
2                   fstype = 'ext2'
3               if p['fstype'] == 'vfat':
4                   fstype = 'fat32'
5 -             rc = subprocess.call(["/sbin/parted", "-a", "cyl", "-s", d['disk'].device, "mkpart",
6 +             rc = subprocess.call(["/sbin/parted", "-a", "opt", "-s", d['disk'].device, "mkpart",
7                                     p['type'], fstype, "%dM" % p['start'], "%dM" % (p['start']+p['size'])])
8   
9               # XXX disabled return code check because parted always fails to