Create a VM with Customised application

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

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

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

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.

edit flag offensive delete link more

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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-03-03 07:04:28 -0600

Seen: 187 times

Last updated: Mar 03 '14