Add ready? to server class
This commit is contained in:
parent
95aad91fba
commit
c990effd49
|
@ -76,6 +76,10 @@ module Fog
|
|||
service.stop_server(identity)
|
||||
end
|
||||
|
||||
def ready?
|
||||
status == "running"
|
||||
end
|
||||
|
||||
def open_vnc
|
||||
requires :identity
|
||||
service.open_vnc(identity)
|
||||
|
@ -205,4 +209,4 @@ module Fog
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue