{% extends "base.html" %} {% load common bootstrap3 %} {% block page_title %}Host - {{ host }} {% endblock %} {% block breadcrumbs %} {{ block.super }}
  • Hosts
  • {{ host }}
  • {% endblock %} {% block content_title %} Host - {{ host }} {% endblock %} {% block content %}
    Hostname {{ host.hostname }}
    Domain {{ host.domain }}
    Reporting IP Address {{ host.ipaddress }}
    Reverse DNS {{ host.reversedns }}
    OS {{ host.os }}
    OS Group {{ host.os.osgroup }}
    Kernel {{ host.kernel }}
    Architecture {{ host.arch }}
    Tags {% load tagging_tags %} {% tags_for_object host as tags %} {% for tag in tags %} {{ tag }} {% endfor %}
    Last Update {{ host.lastreport }}
    Updates Available {{ host.updates.count }}
    Reboot Required {{ host.reboot_required }}
    Packages Installed {{ host.packages.count}}
    Repos In Use{% if host.host_repos_only %}Host Repos{% else %}Host and OS Group Repos{% endif %}
    Last 3 reports {% for report in reports %} {{ report.created }} {% endfor %}
    {% if user.is_authenticated and perms.is_admin %} {% bootstrap_icon "trash" %} Delete this Host {% bootstrap_icon "edit" %} Edit this Host {% endif %}
    {% for update in host.updates.select_related %} {% endfor %}
    InstalledAvailable
    {% if update.security %} {% else %} {% endif %}   {{ update.oldpackage }} {{ update.newpackage }}
    {% if hostrepos %} {% for hostrepo in hostrepos %} {% endfor %} {% endif %} {% with osrepos=host.os.osgroup.repos.select_related %} {% if osrepos and not host.host_repos_only %} {% for osrepo in osrepos %} {% if osrepo.arch == host.arch %} {% endif %} {% endfor %} {% endif %} {% endwith %}
    NameTypePriorityEnabledSecurity
    {{ hostrepo.repo.name }} Host {{ hostrepo.priority }} {% yes_no_img hostrepo.enabled %} {% yes_no_img hostrepo.repo.security %}
    {{ osrepo.name }} OS Group N/A {% yes_no_img osrepo.enabled %} {% yes_no_img osrepo.security %}
    {% for package in host.packages.select_related %} {{ package }} {% endfor %}
    {% endblock %}