% 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 => _('Configurations'), :url => url_for(foreman_virt_who_configure_configs_path) }, {:caption => @config.name, :url => (edit_foreman_virt_who_configure_config_path(@config) if authorized_for(hash_for_edit_foreman_virt_who_configure_config_path(@config))) } ] ) %>
<%= @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 %>