Ask Your Question

how to put a local file into instance in openstack?

asked 2013-07-08 03:28:57 -0600

openstack gravatar image

updated 2013-07-08 03:29:32 -0600

can someone tell me ,how can i put a local file into a (running) instance in openstack essex with python ? my instance's operating system is windows ,thanks so much

edit retag flag offensive close merge delete


Does this assume you don't have horizon or VNC installed and hence you don't have direct access to your running VM's or you don't want to open the console and then save it?

Jobin gravatar imageJobin ( 2013-07-08 12:31:05 -0600 )edit

i have installed horizon and vnc . i just want to upload the file in my code. is there some kind of apis that i can make use of?

openstack gravatar imageopenstack ( 2013-07-10 02:24:53 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-10 05:18:06 -0600

cyberang3l gravatar image

The metadata service might be able to help you.

I haven't tried it myself, but I guess you will then need to run a startup script (powershell?) in the windows machine to check the "user-data".

Take a look also to the answers here if you try this approach:

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-07-08 03:28:57 -0600

Seen: 202 times

Last updated: Jul 10 '13