Sha256: b387cf1eb5ade2f3043f4e1c66a68cb4012c6bf382c4e2258c34695a3c2ddb48
Contents?: true
Size: 754 Bytes
Versions: 13
Compression:
Stored size: 754 Bytes
Contents
module Hetzner class API module Boot module VNC # queries the vnc boot status of one IP address/server def boot_vnc?(ip) path = "/boot/#{ip}/vnc" perform_get path end # enables vnc boot option for one IP address/server # # see <em>Boot</em> to query the API for available options def boot_vnc!(ip, dist, arch, lang) path = "/boot/#{ip}/vnc" perform_post path, :query => { :dist => dist, :arch => arch, :lang => lang } end # disables the vnc boot status of one IP address/server def disable_boot_vnc!(ip) path = "/boot/#{ip}/vnc" perform_delete path end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems