1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[brightbox] Added activate_console method to Brightbox servers

This commit is contained in:
Paul Thornthwaite 2011-03-02 01:10:41 +08:00 committed by Wesley Beary
parent 5281109874
commit 3ddee97334

View file

@ -83,6 +83,12 @@ module Fog
status == 'active'
end
def activate_console
requires :identity
response = connection.activate_console_server(identity)
[response["console_url"], response["console_token"], response["console_token_expires"]]
end
def save
requires :image_id
options = {