Is openstack support cdrom device?
I want to attach cd-rom to an instance, but I found nothing from community's documentation.
First time here? Check out the FAQ!
I want to attach cd-rom to an instance, but I found nothing from community's documentation.
It wouldn't be a CDrom it would be considered an ISO. You would need to turn a CD into an ISO locally, then upload the ISO as an image to OpenStack, then you could install the image into a volume and attach the volume to your instance.
FYI this is not the way you want to be using the cloud. You need to be creating custom images that make use of cloud-init to pull metadata about how to configure the instance.
You'll have to:
sudo dd if=/dev/cdrom of=/tmp/cd.iso
Upload that image file (/tmp/cd.iso) to your running VM (to /tmp/cd.iso too, for example)
Mount it locally
mount /tmp/cd.iso /mnt -t iso9660 -o loop
And the content of your CDROM should be accessible in /mnt...
Asked: 2015-10-14 22:10:32 -0500
Seen: 993 times
Last updated: Oct 26 '15