lib/solusvm/server.rb in solusvm-0.8.1 vs lib/solusvm/server.rb in solusvm-0.9.0
- old
+ new
@@ -64,7 +64,12 @@
def info_all(vid)
perform_request(:action => 'vserver-infoall', :vserverid => vid)
returned_parameters
end
+
+ def rebuild(vid, template)
+ perform_request(:action => 'vserver-rebuild', :vserverid => vid, :template => template)
+ returned_parameters
+ end
end
-end
\ No newline at end of file
+end