Revision ab3d6fb4
Added by Daniel Lobato Garcia about 8 years ago
app/views/compute_resources_vms/index/_digitalocean.html.erb | ||
---|---|---|
<% @vms.each do |vm| %>
|
||
<tr>
|
||
<td><%= link_to_if_authorized vm.name, hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.identity).merge(:auth_object => @compute_resource, :authorizer => authorizer) %></td>
|
||
<td><%= vm.image.name if vm.image.present? %></td>
|
||
<td><%= vm.flavor.name %></td>
|
||
<td><%= vm.region.name %></td>
|
||
<td><%= vm.image['slug'] if vm.image.present? %></td>
|
||
<td><%= vm.size['slug'] %></td>
|
||
<td><%= vm.region['slug'] %></td>
|
||
<td> <span <%= vm_power_class(vm.ready?) %>> <%= vm_state(vm) %></span> </td>
|
||
<td>
|
||
<%= action_buttons(
|
Also available in: Unified diff
Fixes #11332 - DigitalOcean API v2 support
This should allow provisioning using API v2. It relies on Fog 1.36 at
The plugin now:least to work, so 1.10 and older versions of Foreman will not work with
this plugin unfortunately.
client_id
task