loft-sh / devpod-provider-aws

DevPod on AWS
Mozilla Public License 2.0
13 stars 8 forks source link

Support AMIs that do not use `/dev/sda1` for the root device #25

Closed dlacosteGFM closed 11 months ago

dlacosteGFM commented 12 months ago

This one is pretty simple: I have to use Amazon Linux because our org already has that fully deployed everywhere else, but I still want to use DevPod!

Unfortunately, when I resize the disk with AWS_DISK_SIZE it adds a second volume named /dev/sda1 rather than applying the property to the image's root device /dev/xda1.

I made a PR to set the value to whatever is defined in the AMI, or to override on the command line: https://github.com/loft-sh/devpod-provider-aws/pull/24

pascalbreuninger commented 11 months ago

closed by #24