-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloud-init: support resizing on MBR partition tables #1075
Comments
@davidcassany could it be related that with sgdisk is gpt the prefered partition table layout? or should not actually be an issue? I'm just wondering, because most of the resizing scenario tests we perform on EFI, but we don't really test outside of it. Considering that arm is mbr, then might be an issue.. |
Isn't RPi using the MSDOS partition tables? If so, then it won't work. Layout plugin only works for GPT partition tables as it is based on sgdisk. The real fix for that is using the partitioner package from elemental-cli in yip as it supports MSDOS and GPT. Indeed updating yip layout plugin to relay on elemental-cli partitioner package has been my midterm intention since we started elemental-cli. It should be relatively simple to do so as the API in partitioner module is intentionally copying the layout yip plugin for that exact purpose. |
ok, treating it as a feature request then as we never actually supported this before in MBR |
Another way is also to consume directly the partitioner from elemental-cli in the elemental-cli cloud init runner, but I'm not sure if it already works as a drop-in replacement for the layout plugin currently in |
I don't think so, as I believe console interface and probably few other details are not fully aligned. Anyway it is worth finding the best way to express or sort out this dependencies since having elemental-cli requiring yip and yip requiring some elemental-cli package looks like leading to confusions or strange circular dependency issues. |
Yes indeed, better or |
Seems the automatic resizing from the cloud-init examples in the rpi(also odroidc2, probably) images doesn't work. I get a silent exit status 2. However, the generated command seems correct (sgdisk .. ) which correctly identifies the partition number.
Follow up of #1023
Originally posted by @mudler in #1023 (comment)
The text was updated successfully, but these errors were encountered: