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

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

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