Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Make EphemeralLvm::Helper support all EC2 instance types #11
This helper module is broken and raises an exception when executing against the m1.small and c1.medium instance types in AWS. This happens because the block device for those instances is named /dev/sda2 (see here) and the current logic does not allow for a numeric suffix.
This PR adds a test to verify the failure and extends the helper to allow for a single digit at the end of the device name.