Hi,
When I start a new instance of an image (Ubuntu Lucid) I've made, the /etc/apt/sources.list file has been re-set to some default. This is an issue since my image requires a special /etc/apt/sources.list entries.
My image creation script has the following commands:
<blockquote> rm /etc/mercury/incep
rm -rf /var/lib/varnish/*
rm -f /home/ubuntu/.*hist*
rm -f /var/log/*.gz
rm -rf /tmp/*find /var/log -name mysql -prune -o -type f -print | while read i; do cp /dev/null $i; done
ec2-bundle-vol -r $ARCH -d /mnt -p $NAME -u $AWS_USER_ID -k /home/ubuntu/ec2-keys/pk-*.pem -c /home/ubuntu/ec2-keys/cert-*.pem -s 10240 -e $EXCLUDE
ec2-upload-bundle -b $BUCKET -m /mnt/$NAME.manifest.xml -a $AWS_ACCESS_KEY_ID -s $AWS_SECRET_ACCESS_KEY
</blockquote>
And I'm seeing (for the first time) the following errors when creating the image:
<blockquote> warning: Unable to get device geometry for /mnt/image_name
Unable to read instance meta-data for ancestor-ami-ids
Unable to read instance meta-data for ramdisk-id
Unable to read instance meta-data for product-codes
</blockquote>Are these errors related?
Thanks!
Greg