Hi guys,

This simple patch should add support for running an command
on instance in Rackspace.
I wrote 'should' because unfortunately I don't have any valid
Rackspace credentials to test it live.
So I would really appreciate if someone who have it could test
it live to see if it's working.

To test it, apply this patch and start an instance in Rackspace.
Save password for authentication somewhere. Then do:

POST /api/instances/[instance-id]/run

And set these HTTP parameters:

cmd - 'ls -la /'
username - username for authentication (eg. 'root')
password - saved password.

API should return an output for 'ls -la /'.

 -- Michal

Reply via email to