Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

copy a file while creating a vm

I want to copy a file from host to guest while spinning a vm .. any pointers?

Since network is not setup on my cluster ..I figured i just copy the unxibench gzip to benchmark the vm.

But what i fail to understand is how do i copy the gzip tp vm while creating the vm ? I am using this script to create vms

 server = nova.servers.create(name = vmName, image =, flavor =,  nics = nics, availability_zone  = availability_zone , userdata = user_data, key_name =  )