fastconnect / virtualbox-cloudify-driver

VirtualBox Cloudify Driver, for testing purpose
3 stars 0 forks source link

Is that possible to not use vbox web service? #2

Open x1a0 opened 12 years ago

x1a0 commented 12 years ago

Hello,

Thanks for the help today.

I am still having trouble with booting it up but guess I just need to spend more time on it.

Here is a quick question: is that possible to not use vbox web service? How does Vagrant do it?

grozeille commented 12 years ago

It's a good question. Vagrant use the commande line "VBoxManage". It's not possible to do that (not easily) because the "Cloudify Manager" is deployed on a VM, and the "Cloudify Manager" creates the other VM. So this Manager needs to manipulate VirtualBox, which is not installed on the VM but on the Host.

Another solution is to create a SSH server on the Host, so the Manager can call the VBoxManage command on the Host. But install a SSH server is not easier than starting the VirtualBox WebService, and will not work easily on Windows Host.

Another solution is to create the Manager on the Host (not on a VM) but it comes with a lot of problems.

x1a0 commented 12 years ago

I see. The SSH server solution sounds good to me.

So I guess if I can somehow add the Manager VM's SSH pub key to the Host's authorized_keys then it can do the job?

(let's not consider windows for now...)

grozeille commented 12 years ago

You can fork the driver to implement this way :)