Ask Your Question

Ubuntu Desktop

asked 2016-01-29 05:50:34 -0600

SchweringStudy gravatar image

Hello Everyone, I'm trying to run an Ubuntu Desktop off of Openstack using the console. Does anyone have any advice on how to run a desktop version of Ubuntu on openstack? I have an iso with Ubuntu, but cannot install it so I have to run it off the disk, however whenever I have to reboot the instance, it will automatically wipe everything.

Any suggestions?

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted

answered 2016-02-01 03:47:58 -0600

Vinoth gravatar image

You can not use ISO file directly for launching a new VM in an openstack. Instead, use cloud image which is available in ubuntu repo.

Unfortunately, Cloud image for desktop version is not available in ubuntu repo. So you must manually create the one.

Steps for manually Creating a new cloud image is available at ( In this example they have used ubuntu server, for your case use desktop ISO and follow all the steps).

I would recommend go with ubuntu server cloud image for creating new VM and then install a desktop packages.


You could also take the snapshot of this VM for creating desktop VM in future.

edit flag offensive delete link more

answered 2016-02-01 17:14:34 -0600

capsali gravatar image

You can use an iso to install ubuntu desktop too, but is a little complicated. Spawn an instance from the iso and attach a cinder volume to it. Run installer and select the cinder volume for installation path.

After install, terminate the instance and you can boot up a new one from the volume. Log in, install cloud-init and shutdown.

Terminate again, upload the volume into glance and you have yourself a new ubuntu desktop cloud image.

But the simpler path would be, as stated above, download an official ubuntu cloud image, boot up an instance, log in, execute sudo apt-get update && sudo apt-get dist-upgrade , reboot if kernel change, then sudo apt-get install ubuntu-desktop, wait for finish and reboot.

You now have a working ubuntu dekstop instance. Take a snapshot and it will automatically be uploaded into glance. (eventually sudo dpkg --reconfigure cloud-init before snapshot to reset the state of Ubuntu if you want to spawn a new instance)

edit flag offensive delete link more

answered 2016-02-01 19:11:15 -0600

Mohit gravatar image


You can use the official qcow2 image like

Upload this .img file on openstack image store , spin up the instance.

Though this is a server image, you can perform apt-get install to install GUI on the server following the blog post

Take a snapshot and you can boot from snapshot as stated by capsali

edit flag offensive delete link more


So I downloaded the image and uploaded it. I pulled up a console. I am now having difficulties with the login. Specifically the username and password. Any insight on this?

SchweringStudy gravatar imageSchweringStudy ( 2016-02-01 19:31:35 -0600 )edit

Install guestfish package via yum or apt on the machine where you downloaded qcow2 image ,

Follow this post.

Mohit gravatar imageMohit ( 2016-02-02 02:18:50 -0600 )edit

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


Asked: 2016-01-29 05:50:34 -0600

Seen: 3,267 times

Last updated: Feb 01 '16