cloud-init-dev team mailing list archive
-
cloud-init-dev team
-
Mailing list archive
-
Message #02209
[Merge] ~smoser/cloud-init:bug/1692087-disk_setup-gpt-improvements into cloud-init:master
The proposal to merge ~smoser/cloud-init:bug/1692087-disk_setup-gpt-improvements into cloud-init:master has been updated.
Commit Message changed to:
disk_setup: fix several issues with gpt disk partitions.
This fixes several shortcomings of disk_setup with gpt disks.
* 'sgdisk -p' was being used to determine the size of a disk.
this can fail if it believes there is a bad gpt partition table.
Instead we just use blockdev now for both mbr or gpt disks.
* parsing of sgdisk -p output assumed that the 'name' of the partition
type would not have any spaces (Microsoft basic data)
* interaction with sgdisk did not realize that sgdisk wants input
of '8300' rather than '83' and will output the same.
LP: #1692087
For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/324338
--
Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:bug/1692087-disk_setup-gpt-improvements into cloud-init:master.
Follow ups