<% stylesheet 'foreman_virt_who_configure/config' %> <% javascript 'foreman_virt_who_configure/config_copy_and_paste' %>

<%= _("On the target virt-who host:") %>
<%= _("1. Copy this configuration script to a safe directory.") %>
<%= _("2. Make the script executable and run it.") %>
<%= _("3. Delete the script.") %>

<%= link_to _('Edit this configuration'), edit_foreman_virt_who_configure_config_path(@config), :class => 'btn btn-default' %> <%= link_to _('Download the script'), deploy_script_foreman_virt_who_configure_config_path(@config), :class => 'btn btn-default' %> <%= link_to _('Copy to clipboard'), nil, :class => 'btn btn-default', :onclick => 'virt_who_copy_configuration_to_clipboard($("pre.terminal").html())' %>

<%= _('Configuration script: ') %>

<%= @config.virt_who_config_script %>