Ask Your Question

can i insert a configuration file into virtual machine, when its up and running?

asked 2014-05-15 05:11:47 -0500

anonymous user


i want to insert/inject a configuration file into VM and then need to run some command. please help to figure out, how i can do that.

edit retag flag offensive close merge delete


config file means text file. we are doing a POC and we have to figure out is there a mechanism to inject file once VM is already deployed. i know there is one mechanism which is called "cloud Init" but as far as i know that helps only at the time of VM deployment.

If anyone know how i can inject a text(config) file when VM is already deployed, please help.

maninder gravatar imagemaninder ( 2014-05-19 00:15:29 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-15 09:40:58 -0500

SGPJ gravatar image

updated 2014-05-20 22:48:00 -0500

have you tried post creation scripts while deploying the VM with nova boot.

While creating VM image, insert the file in VM and edit .profile to run the script.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-15 05:11:47 -0500

Seen: 76 times

Last updated: May 20 '14