Ask Your Question
0

Is openstack support cdrom device?

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

anonymous user

Anonymous

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
0

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
0

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 772 times

Last updated: Oct 26 '15