I'm in the process of creating a number of Amazon Machine Images (AMIs) that will be uploaded and run on the basis of our Xen images. However, I'm running into problems with some platforms where the drive names assigned when they are running on EC2 are different than what Xen names them when we run the images locally.
For example, under SUSE running locally we see the following:
brw-rw---- 1 root disk 202, 1 Jan 30 07:49 xvda1
brw-rw---- 1 root disk 202, 2 Jan 30 07:49 xvda2
brw-rw---- 1 root disk 202, 3 Jan 30 07:49 xvda3
While the Amazon supplied images report the following when running on a t1.micro:
brw-rw---- 1 root disk 8, 1 Jan 30 13:18 sda1
How can I prepare my Xen images so that when we bundle them using ec2-bundle-image the correct disk name will be automatically selected?