Ask Your Question
0

Create a VM with Customised application

asked 2014-03-03 07:04:28 -0500

joshua gravatar image

I am using devstack and creating a Openstack with BigRest proxy Plugin and Floodlight Controller.

I want to create a VM with customized applications loaded in the Ubuntu12.04 VM instance.

How do I do that? Say I need to run the application that is written in C and has to run on the VM.

Please let me know

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-03-03 10:24:44 -0500

You can also do it just at the OS layer (old school) by starting the program in /etc/rc.local on you VM. A few links below might be of help. I have an Aurora VM I use in one of my labs (aurora is an alternative Dashboard to Horizon) and choose this way to auto start the Java Application on re-boot.

http://ubuntuforums.org/showthread.ph...

http://ubuntuforums.org/showthread.ph...

edit flag offensive delete link more
0

answered 2014-03-03 07:45:04 -0500

Qiming gravatar image

My guess is that you want to boot a VM with raw guest images. Suppose you have prepared you image with cloud-init and possibly heat-cfntools. You can deploy you application on the fly when the VM is launched, using Heat.

Basically, you can do application deployment using cloud-config (google this, if needed), or you can let Heat install wget, git or whatever utilities that can grab you application from a known source. You can even automate the compilation and installation of the application using OS::Nova::Server resource. Just write down your deployment script in the user_data property would be okay.

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: 2014-03-03 07:04:28 -0500

Seen: 113 times

Last updated: Mar 03 '14