% stylesheet 'foreman_virt_who_configure/config' %> <% javascript 'foreman_virt_who_configure/config_copy_and_paste' %> <% title(_("Virt-who Configuration %s") % @config.name) %> <%= title_actions( display_link_if_authorized(_('Edit'), hash_for_edit_foreman_virt_who_configure_config_path(@config).merge(:permission => 'edit_virt_who_config', :auth_object => @config), :class => 'btn btn-default'), display_delete_if_authorized(hash_for_foreman_virt_who_configure_config_path(@config).merge(:permission => 'destroy_virt_who_config', :auth_object => @config), :class => 'btn btn-default', :data => {:confirm => _("Delete virt-who configuration %s?") % config.name}) ) %> <%= breadcrumbs(:resource_url => foreman_virt_who_configure_api_configs_path, :items => [ { :caption => _('Virt-who Configurations'), :url => foreman_virt_who_configure_configs_path }, { :caption => @config.name } ] ) %>
<%= @config.virt_who_config_command %>
<%= _("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.") %>
<%= @config.virt_who_config_script %>