Ask Your Question

Is openstack support cdrom device?

asked 2015-10-14 22:10:32 -0500

anonymous user


updated 2015-10-15 08:21:18 -0500

I want to attach cd-rom to an instance, but I found nothing from community's documentation.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-10-15 10:24:52 -0500

mpetason gravatar image

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.

edit flag offensive delete link more

answered 2015-10-26 03:52:14 -0500

You'll have to:

  • Create the ISO image on your local computer (here, running linux)

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...

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-10-14 22:10:32 -0500

Seen: 993 times

Last updated: Oct 26 '15